CVE Catalog

CVE-2026-45263

HighCVSS 8.0
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.76%

57th percentile - higher than 57% of all known CVEs

Summary

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(), 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: a low-priv user plants a payload in any text field that ships in the default list export, the admin downloads the CSV, and the admin's spreadsheet client runs the formula in the admin's local context.

Risk Assessment

A low-privilege attacker can execute malicious formulas in the administrator's context, potentially leading to data theft, command execution, or further privilege escalation. This requires the administrator to interact with the exported CSV file.

Recommendation

Update FacturaScripts to version 2026.2 or later. Inform administrators about the risk of opening CSV exports in spreadsheet applications and consider sanitizing formula characters in exports.

Other vulnerabilities in FacturaScripts

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS