CVE-2026-45263
Received Received - Intake

Formula Injection in FacturaScripts CSV Export

Vulnerability report for CVE-2026-45263, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-04
Last Modified
2026-12-04
Generated
2026-12-04
AI Q&A
2026-12-04
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
facturascripts facturascripts to 2026.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1236 The product saves user-provided information into a Comma-Separated Value (CSV) file, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as a command when the file is opened by a spreadsheet product.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

FacturaScripts versions before 2026.2 have a CSV export flaw where user input is not properly sanitized for spreadsheet formula injection. The export function wraps cell values in quotes but does not check for formula prefixes like =, +, or -. Attackers can inject malicious formulas into text fields, which are executed when an admin opens the CSV in a spreadsheet application.

Detection Guidance

Check FacturaScripts version for installations below 2026.2. Inspect CSV exports for cells starting with formula prefixes (=, +, -, @, tab, or carriage return). Review admin workflows where CSV exports are downloaded and opened in spreadsheet applications.

Impact Analysis

An attacker with low privileges could plant a payload in a text field. When an admin exports and opens the CSV, the spreadsheet client executes the formula in the admin's local environment. This could lead to unauthorized actions, data theft, or further compromise of the admin's system.

Compliance Impact

This vulnerability could violate GDPR by enabling unauthorized data access or processing, and HIPAA by compromising protected health information if exposed through formula execution. It undermines data integrity and confidentiality requirements in both standards.

Mitigation Strategies

Upgrade FacturaScripts to version 2026.2 or later. Avoid opening CSV exports from untrusted sources in spreadsheet applications. Implement input validation to block formula prefixes in text fields before saving.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-45263. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...