CVE-2026-25513
published high CVSS 4.0 · 8.3FacturaScripts has SQL Injection vulnerability in API ORDER BY Clause
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NeoRazorX | — | facturascripts< 2025.81 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.3 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NeoRazorX | facturascripts | < 2025.81 (affected) | GitHub_M · cna |
Weaknesses
4- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CWE-20 CWE-20: Improper Input Validation
- CWE-1286 CWE-1286: Improper Validation of Syntactic Correctness of Input
- CWE-943 CWE-943: Improper Neutralization of Special Elements in Data Query Logic
References
2Provider assertions
2GitHub_M · cna
FacturaScripts has SQL Injection vulnerability in API ORDER BY Clause
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 91cd931674798db34524c09fe150cf6ff7783eeeb890e782971df39d404deb10
- Ingested
- 23 Sep 2026, 09:06:52 UTC
- Source record
- Official CVE record