Read the docs

CSV formula injection in FacturaScripts CSV export

Priority HIGH 70CWE-1236Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

FacturaScripts versions before 2026.2 are affected. CSVExport::writeData() does not neutralize cell values that begin with =, +, -, @, tab or carriage return, so spreadsheet applications may run them as formulas (CWE-1236). An authenticated low-privileged user can store such a value in a text field that appears in the default list export, and it runs when an administrator downloads the CSV and opens it in a spreadsheet.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
Fix Fixed facturascripts (NeoRazorX): 2026.2facturascripts/facturascripts (Packagist): 2026.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
NeoRazorXfacturascriptsbefore 2026.22026.2Patch availableCNA
—facturascripts/facturascripts (Packagist)before 2026.22026.2Patch availableGHSA-2p5x-4jr6-x5jg
  • facturascripts VendorNeoRazorX Affected before 2026.2 Fixed in 2026.2 Patch available CNA
  • facturascripts/facturascripts (Packagist) Vendor— Affected before 2026.2 Fixed in 2026.2 Patch available GHSA-2p5x-4jr6-x5jg

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:facturascripts:facturascripts:*:*:*:*:*:*:*:*——NeoRazorX
  • cpe:2.3:a:facturascripts:facturascripts:*:*:*:*:*:*:*:* Versions — — ·NeoRazorX

Remediation

Upgrade FacturaScripts (NeoRazorX facturascripts and Packagist facturascripts/facturascripts) to version 2026.2, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA facturascripts (NeoRazorX) Fixed in 2026.2
  • Fix · GHSA-2p5x-4jr6-x5jg facturascripts/facturascripts (Packagist) Fixed in 2026.2 Advisory →

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-45263
  2. 2026-12-04 CISA SSVC decision points changed

References

  • TI-2026-67066 Path traversal in NeoRazorX facturascripts CVSS 3.1CRITICAL 9.9
  • TI-2026-104319 Authenticated SQL injection in FacturaScripts REST API filter parameter CVSS 3.1CRITICAL 9.9
  • TI-2026-19336 FacturaScripts has a Stored Cross-Site Scripting (XSS) in "Observations" field via History View CVSS 3.1CRITICAL 9.0
  • TI-2026-22235 Remote Code Execution (RCE) via Zip Slip in Plugin Upload Mechanism CVSS 3.1HIGH 7.2
  • TI-2026-31084 FacturaScripts: Unauthenticated phpinfo() Disclosure via Installer Endpoint in FacturaScripts CVSS 3.1MEDIUM 5.3
  • TI-2026-67841 PHP object injection in FacturaScripts via WidgetSelect CVSS 4.0MEDIUM 6.1
See all 31 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences