mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-06-01 07:29:01 +00:00
Validate sortOrder against an allowlist at the DTO layer, normalize the direction centrally in DynamicFilterSortBy.buildQuery, and re-sanitize inside every orderByRaw modifier so attacker-controlled SQL cannot reach the ORDER BY clause. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>