PT-2025-40597 · Unknown · Opensupports
Cristian Vargas
·
Published
2025-10-03
·
Updated
2025-12-23
·
CVE-2025-10692
CVSS v4.0
7.1
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
OpenSupports versions 4.11.0
Description
The application’s API endpoint,
/api/staff/get-new-tickets, directly incorporates the user-supplied parameter departmentId into a SQL query without proper sanitization. This allows an authenticated staff user with a privilege level of 1 or higher to inject SQL code, bypassing department-based access restrictions and potentially disclosing tickets from other departments. The departmentId parameter is directly concatenated into the SQL WHERE clause, creating a SQL injection point.Recommendations
Apply input validation and parameterized queries to the
departmentId parameter in the /api/staff/get-new-tickets endpoint to prevent SQL injection.Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Opensupports