mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-17 05:19:43 -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.
4.4 KiB
4.4 KiB