FacturaScripts has SQL Injection vulnerability in API ORDER BY Clause
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NeoRazorX | facturascripts | before 2025.81 | 2025.81 | Patch available | CNA |
| — | facturascripts/facturascripts (Packagist) | before 2025.81 | 2025.81 | Patch available | GHSA-cjfx-qhwm-hf99 |
- facturascripts VendorNeoRazorX Affected before 2025.81 Fixed in 2025.81 Patch available CNA
- facturascripts/facturascripts (Packagist) Vendor— Affected before 2025.81 Fixed in 2025.81 Patch available GHSA-cjfx-qhwm-hf99
Remediation
- Fix · CNA facturascripts (NeoRazorX) Fixed in 2025.81
- Fix · GHSA-cjfx-qhwm-hf99 facturascripts/facturascripts (Packagist) Fixed in 2025.81 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-25513
- 2026-10-03 Alias added: GHSA-cjfx-qhwm-hf99
References
More NeoRazorX Facturascripts vulnerabilities
- TI-2026-19336 FacturaScripts has a Stored Cross-Site Scripting (XSS) in "Observations" field via History View CVSS 3.1CRITICAL 9.0
- TI-2022-01581 Account Takeover in neorazorx/facturascripts CVSS 3.1CRITICAL 9.8
- TI-2026-20624 FacturaScripts has SQL Injection vulnerability in Autocomplete Actions CVSS 4.0HIGH 8.7
- TI-2022-01913 Cross-site Scripting (XSS) - Reflected in neorazorx/facturascripts CVSS 3.1MEDIUM 6.1
- TI-2022-01843 Cross-site Scripting (XSS) - Generic in neorazorx/facturascripts CVSS 3.1MEDIUM 6.1
- TI-2022-01550 Reflected Xss using url based payload in neorazorx/facturascripts CVSS 3.1MEDIUM 6.1
Sources
- CVE-2026-25513 · CVE Program
- CVE-2026-25513 · NVD
- FIRST EPSS
- GHSA-cjfx-qhwm-hf99 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences