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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NeoRazorX | facturascripts | < 2025.81 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
lukasz-rybak/CVE-2026-25513 ★ 0 · Apr 11, 2026
CVE-2026-25513 - FacturaScripts has SQL Injection in API ORDER BY Clause
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | facturascripts/facturascripts | < 2025.81 | 2025.81 | GHSA-cjfx-qhwm-hf99 |