StraitOfVuln
Latest / CVE-2026-45262

CVE-2026-45262

CriticalCVSS 9.9 (v3.1)Received
CVE.org ↗NVD ↗

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 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.

Details

CVE ID
CVE-2026-45262
Published / updated
04 Dec 2026, 17:19 UTC · last modified 04 Dec 2026, 17:19 UTC
Severity
CRITICAL
CVSS score
9.9 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H · Attack vector: Network
Affected vendor
NeoRazorX
Affected products
facturascripts
Affected versions
facturascripts: < 2026.2
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
—
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security-advisories@github.com