Security mailing lists by PureSourceCode

CVE-2026-45262

CRITICAL 9.9CVSS 3.1

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

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.

Published
4 Dec 2026
Last modified
4 Dec 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-89CWE-918
Also known as
GHSA-5qmh-x653-g8qj
Sources
NVDJSONCVE ListJSONOSV GHSA-5qmh-x653-g8qjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVE List GitHub_M CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List NeoRazorX facturascripts = < 2026.2
OSV Packagist facturascripts/facturascripts < 2026.2 2026.2

References

History

  • 4 Dec 2026 21:09 UTC · NVD: 1 reference added
  • 4 Dec 2026 20:09 UTC · CVE List: updated (other details)
  • 4 Dec 2026 19:09 UTC · NVD: first stored (published 4 Dec 2026)
  • 4 Dec 2026 18:09 UTC · CVE List: first stored (published 4 Dec 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.