CVE-2026-25513

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.
CVSS

No CVSS.

Configurations

No configuration.

History

04 Feb 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-04 20:16

Updated : 2026-02-05 14:57


NVD link : CVE-2026-25513

Mitre link : CVE-2026-25513

CVE.ORG link : CVE-2026-25513


JSON object : View

Products Affected

No product.

CWE
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

CWE-1286

Improper Validation of Syntactic Correctness of Input