CVE-2026-25513

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductFacturascripts
PublishedFeb 4, 2026
First seenFeb 4, 2026

How to fix

Update
  • facturascripts facturascripts2025.81 or later
  • facturascripts/facturascripts2025.81 or later

Affected products

ProductAffected versionsFixed in
facturascripts facturascriptsv < 2025.812025.81
facturascripts/facturascriptsPackagistv < 2025.812025.81

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.