CVE-2026-25513CWE-1286CWE-20CWE-89CWE-943

FacturaScripts has SQL Injection vulnerability in API ORDER BY Clause

High · published February 4, 2026

CVSS v4.0
8.3
EPSS
1%
Percentile
46.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.3 · HIGH
Vector
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
EPSS
0.00572 · 46.5th percentile
Weaknesses
CWE-1286 · Improper Validation of Syntactic Correctness of Input; CWE-20 · Improper Input Validation; CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'); CWE-943 · Improper Neutralization of Special Elements in Data Query Logic
Published
2026-02-04T19:59Z
EPSS history
Timeline
  • 04 FEB 19:59Z
    FacturaScripts has SQL Injection vulnerability in API ORDER BY Clause
    cvelistv5