What’s Vulnerable › Vulnerabilities
CVE-2026-25513: FacturaScripts has SQL Injection vulnerability in API ORDER BY Clause
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-02-04 · updated 2026-06-17
- Weakness: CWE-20
Description
FacturaScripts is open-source enterprise resource planning and accounting software. Prior to version 2025.81, FacturaScripts contains a critical SQL injection vulnerability in the REST API that allows 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.81.
Affected products
- NeoRazorX facturascripts: before 2025.81 — fixed in 2025.81
How to fix
Upgrade to a fixed version: NeoRazorX facturascripts 2025.81. Check the vendor advisory for mitigations.
References
- https://github.com/NeoRazorX/facturascripts/commit/1b6cdfa9ee1bb3365ea4a4ad753452035a027605
- https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-cjfx-qhwm-hf99
Get alerted when CVE-2026-25513 or the next vulnerability affects your stack