mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-19 06:18:22 -04:00
Add sanitizeSortColumn() validation to prevent SQL injection in the sort parameter of search() methods in tax-related controllers. Vulnerable controllers: - Taxes.php: sort column was passed directly to model - Tax_categories.php: sort column was passed directly to model - Tax_codes.php: sort column was passed directly to model - Tax_jurisdictions.php: sort column was passed directly to model Fix: Use sanitizeSortColumn() to validate sort column against allowed headers, defaulting to primary key if invalid.
23 KiB
23 KiB