The endpoint POST /api/staff/get-new-tickets concatenates...
High severity
Unreviewed
Published
Oct 3, 2025
to the GitHub Advisory Database
•
Updated Oct 3, 2025
Description
Published by the National Vulnerability Database
Oct 3, 2025
Published to the GitHub Advisory Database
Oct 3, 2025
Last updated
Oct 3, 2025
The endpoint POST /api/staff/get-new-tickets concatenates the user-controlled parameter departmentId directly into the SQL WHERE clause without parameter binding. As a result, an authenticated staff user (level ≥ 1) can inject SQL to alter the filter logic, effectively bypassing department scoping and disclosing tickets beyond their intended access.This issue affects OpenSupports: 4.11.0.
References