CVE-2026-25513

FacturaScripts has SQL Injection vulnerability in API ORDER BY Clause

Published Feb 4, 2026 CVSS 4.0 · 8.3 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-cjfx-qhwm-hf99 FacturaScripts has SQL Injection in API ORDER BY Clause
History
Type Values Removed Values Added
First Time appeared Facturascripts
Facturascripts facturascripts
CPEs cpe:2.3:a:facturascripts:facturascripts:*:*:*:*:*:*:*:*
Vendors & Products Facturascripts
Facturascripts facturascripts
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Neorazorx
Neorazorx facturascripts
Vendors & Products Neorazorx
Neorazorx facturascripts
Type Values Removed Values Added
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.
Title FacturaScripts has SQL Injection vulnerability in API ORDER BY Clause
Weaknesses CWE-1286
CWE-20
CWE-89
CWE-943
References
Metrics cvssV4_0

{'score': 8.3, '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'}

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 5, 2026, 2:32 PM
Reserved
Feb 2, 2026, 6:21 PM
Status
Analyzed
Published
Feb 4, 2026, 8:16 PM
Modified
Jun 17, 2026, 10:24 AM