Skip to content
OpenAdvisories
High · 8.3 Public exploit CVE-2026-25513 EUVD-2026-5359GHSA-cjfx-qhwm-hf99

FacturaScripts has SQL Injection vulnerability in API ORDER BY Clause

Published Feb 4, 2026 · Updated Feb 5, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
NeoRazorX facturascripts < 2025.81 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist facturascripts/facturascripts < 2025.81 2025.81 GHSA-cjfx-qhwm-hf99

References