CVE-2026-45263
HIGH 8.0CVSS 3.1FacturaScripts: CSV formula injection in CSVExport allows authenticated low-priv users to plant payloads that execute when an admin opens the export
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.
- Published
- 4 Dec 2026
- Last modified
- 4 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-1236
- Also known as
- GHSA-2p5x-4jr6-x5jg
- Sources
- NVDJSONCVE ListJSONOSV GHSA-2p5x-4jr6-x5jgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | NeoRazorX | facturascripts | = < 2026.2 | |
| OSV | Packagist | facturascripts/facturascripts | < 2026.2 | 2026.2 |
References
- https://github.com/NeoRazorX/facturascripts/releases/tag/v2026.2 · x_refsource_MISC
- https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-2p5x-4jr6-x5jg · x_refsource_CONFIRM, WEB
- https://github.com/NeoRazorX/facturascripts/commit/ef417b5ad · WEB
- https://github.com/NeoRazorX/facturascripts · PACKAGE
History
- 4 Dec 2026 19:09 UTC · NVD: first stored (published 4 Dec 2026)
- 4 Dec 2026 19:09 UTC · CVE List: updated (other details)
- 4 Dec 2026 18:09 UTC · CVE List: first stored (published 4 Dec 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Jul 2026)