CVE-2026-25513

FacturaScripts has SQL Injection vulnerability in API ORDER BY Clause

State
Published
Severity
8.3 High
Published
Feb 4, 2026
Updated
Feb 5, 2026
Reserved
Feb 2, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.3 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
  • CWE-20 Improper Input Validation
  • CWE-1286 Improper Validation of Syntactic Correctness of Input
  • CWE-943 Improper Neutralization of Special Elements in Data Query Logic

Affected Products

ProductVersions
facturascriptsNeoRazorX
  • < 2025.81Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.