VYPR
High severityNVD Advisory· Published Feb 4, 2026· Updated Feb 5, 2026

FacturaScripts has SQL Injection vulnerability in API ORDER BY Clause

CVE-2026-25513

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
facturascripts/facturascriptsPackagist
< 2025.812025.81

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.