CVE-2026-25513
FacturaScripts is open-source enterprise resource planning and …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/NeoRazorX/facturascripts/commit/1b6cdfa9ee1bb3365ea4a4ad753452035a027605
- github.com/NeoRazorX/facturascripts/security/advisories/GHSA-cjfx-qhwm-hf99
- nvd.nist.gov/vuln/detail/CVE-2026-25513
- github.com/advisories/GHSA-cjfx-qhwm-hf99
- nvd.nist.gov/vuln/detail/CVE-2026-25513
- cve.org/CVERecord?id=CVE-2026-25513
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.