EventsSecuring Finance in the Age of AI · Secure.com X ZIG Finance · London, 12 NovRegister now

CVE-2026-45262

FacturaScripts: Authenticated SQL injection in the REST API filter parameter via parenthesis bypass in `Where::sqlColumn`

9.9 CRITICALNot in KEVNVD: Received

Overview

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 parenthesis branch returns the attacker-controlled string unmodified. The string is concatenated into WHERE <attacker> = '<value>', which an attacker can pivot to WHERE (0)UNION SELECT ... FROM users WHERE(nick='admin')-- = 'value', leaking arbitrary columns from any table. This issue has been patched in version 2026.2.

Severity

ScoreSeverityVersionTechnologies Affected
9.9CRITICAL3.1GitHub_M (CNA)NeoRazorX Facturascripts

Details

CVE ID
CVE-2026-45262
Status
Received
Assigner (CNA)
GitHub_M
Published
Dec 4, 2026
Last modified
Dec 4, 2026, 8:19 PM UTC
Weaknesses
  • CWE-89 · Improper Neutralization of Special Elements used in an SQL Command
  • CWE-918 · Server-Side Request Forgery

Affected Products

As published by the CNA in the CVE record.

NeoRazorXfacturascripts1 version range
  • < 2026.2

References