AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.

Summary

Before version 2026.2, FacturaScripts may pass raw API filter keys into SQL construction, and column names containing parentheses are exempted from identifier escaping. This can expose API filtering to SQL injection.

Impact: SQL injection

Affected technologies

  • FacturaScripts (before 2026.2)

Upgrade FacturaScripts to version 2026.2 or later.

Details

   
CVSS 9.9 (Critical)
Vendor / product NeoRazorX facturascripts
Published 2026-12-04
Weakness CWE-89, CWE-918
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Original description

FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Where.php::sqlColumn() exempts any field name that contains both ( and ) from identifier escaping. The two API filter builders (APIModel::getWhereValues and ApiAttachedFiles::getWhereValues) feed the raw request key ($_GET[‘filter’][$key]) straight into new DataBaseWhere($key, $value, ‘=’, …). When the model’s all() reaches Where::multiSqlLegacy -> Where::sql() -> Where::sqlColumn($key), the paren

References

← Threat intelligence dashboard