cvelo
P2 · HighCVSS 8.0

FacturaScripts: CSV formula injection in CSVExport allows authenticated low-priv users to plant payloads that execute when an admin opens the export

  • CVE-2026-45263
  • GHSA-2p5x-4jr6-x5jg
  • EUVD-2026-144496

Summary

FacturaScripts versions before 2026.2 have a CSV formula injection flaw in the CSV export routine, which wraps each cell in quotes but does not check whether the value begins with characters such as =, +, -, @, tab or carriage return. Spreadsheet applications treat such cells as formulas. Input sanitisation only strips HTML metacharacters, so these prefixes survive. An authenticated low-privilege user can place a payload in a text field included in a default list export, and it runs in the spreadsheet of an admin who downloads that export. The issue is rated CVSS 8 and is patched in version 2026.2. It is not listed in the CISA known exploited vulnerabilities catalog.

AI summary · verify against the vendor advisory

Description

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • NeoRazorX facturascripts

    Affected versionsFixed in
    < 2026.2none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.