Improper Input Validation
CVE-2026-25513
Summary
FacturaScripts is open-source enterprise resource planning and accounting software. Prior to version 2025.8, FacturaScripts contained a critical SQL injection vulnerability in the REST API that allowed authenticated API users to execute arbitrary SQL queries through the sort parameter. The vulnerability exists in the "ModelClass::getOrderBy()" method, where user-supplied sorting parameters are directly concatenated into the SQL ORDER BY clause without validation or sanitization. This affects all API endpoints that support sorting functionality. This issue has been patched in version 2025.8.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- LOW
- HIGH
- HIGH
CWE-20 - Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
References
Advisory Timeline
- Published