CVE-2026-45263
FacturaScripts: CSV formula injection in CSVExport allows authenticated low-priv users to plant payloads that execute when an admin opens the export
- Severity
- high CVSS 8.0 (v3.1)
- Affects
- facturascripts · NeoRazorX
- Weakness
- CWE-1236: Improper Neutralization of Formula Elements in a CSV File
- Published
- 4 December 2026 by GitHub_M
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Lib/Export/CSVExport.php::writeData() wraps every cell in the configured delimiter (") and concatenates without inspecting the first character of the value. Spreadsheet applications interpret a cell that starts with =, +, -, @, \t, or \r as a formula. Because FacturaScripts only sanitises HTML metacharacters (< > " ') on save via Tools::noHtml() (Core/Tools.php:45), the formula prefix characters survive untouched all the way to the export. The downstream consumer is the admin who triggered the export, giving the attacker a reliable handoff: low-priv user plants a payload in any text field that ships in the default list export, admin downloads the CSV (all normal billing/sales/purchasing workflow), and the admin's spreadsheet client runs the formula in the admin's local context. This issue has been patched in version 2026.2.
Our coverage
We have not written about this one. Know why it matters? Send a tip.