Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted formula value via application input
-
DeliveryApplication stores attacker-controlled cell value
-
Exploitexceljs-hardened exports records to CSV without sanitizing formula characters
-
ExecutionVictim downloads and opens CSV in spreadsheet application
-
PersistSpreadsheet auto-executes injected formula
-
ImpactFormula exfiltrates data to attacker-controlled endpoint
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization CSV injection prevention
|
| Exploitation Conditions | Two conditions must hold simultaneously: (1) the attacker must control at least one string value that will be written into a CSV export by the application - achievable through any data-submission vector the application exposes (web form fields, API payloads, file imports, or database records the attacker can influence); and (2) a human victim must open the generated CSV file in a spreadsheet application that auto-executes formulas on open, such as Microsoft Excel (with macros or DDE enabled) or LibreOffice Calc. Exploitation is categorically blocked if the CSV is never opened in a spreadsheet application (e.g., consumed programmatically as plain text). Whether the data-submission step requires authentication depends entirely on the host application, not the exceljs-hardened library - the library itself imposes no authentication boundary. Applications that validate or sanitize user input before storage, or that do not expose CSV exports to consumers of untrusted data, are not exploitable. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N) reflects a remotely reachable attack with no complexity or privilege prerequisites from the library's perspective, though passive user interaction (UI:P - opening the CSV) is required. The high confidentiality score (VC:H, SC:H) captures the potential for formula-driven data exfiltration across the scope boundary into the spreadsheet application. Real-world risk is moderate-to-high specifically for applications that accept untrusted user input and then export it to downloadable CSVs - an extremely common pattern in SaaS dashboards, admin panels, and data export features. The absence of a CISA KEV listing and no identified public proof-of-concept reduce immediate mass-exploitation urgency; however, CSV formula injection is a well-understood attack class with publicly documented techniques, meaning motivated attackers need no novel exploit development. The library's own security-hardened branding implies its adopters may be operating in higher-sensitivity environments, raising the consequence of exploitation. The user interaction requirement is the primary practical limiter - server-side impact is nil without a human opening the file. |
| Exploit ScenarioDerived | An attacker submits a crafted input - for example, a name field containing |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
CSV formula injection in exceljs-hardened before version 5.0.0 allows attackers who can influence exported cell values to embed spreadsheet formulas in generated CSV output by supplying values beginning with =, +, -, or @. When a victim opens the resulting CSV in a spreadsheet application such as Microsoft Excel or LibreOffice Calc, injected formulas execute in the spreadsheet context, enabling data exfiltration or unauthorized actions within that application. No public exploit has been identified at time of analysis, but the CVSS 4.0 score of 8.4 reflects high confidentiality impact and a scope change to the subsequent spreadsheet application system.
RemediationAI
Upgrade exceljs-hardened to version 5.0.0 or later, which introduces proper neutralization of leading formula-trigger characters (=, +, -, @) in CSV cell values, as documented in the security advisory at https://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-9wxc-4rhw-hfrw. If an immediate upgrade is not feasible, applications should sanitize all user-controlled string values before passing them to the CSV export function - specifically by prefixing any value beginning with =, +, -, or @ with a tab character or single quote to prevent formula interpretation; note that single-quote prefixing may be visible to end-users in some spreadsheet applications, which is an acceptable trade-off versus injection risk. As a defense-in-depth control, server-side input validation stripping or rejecting leading formula characters from text fields narrows the attack surface without requiring changes to the export layer, though this approach requires careful scoping to avoid breaking legitimate data such as phone numbers beginning with +. Do not rely on end-user education about opening CSV files as a compensating control.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
exceljs-hardened is a security-focused npm fork of the widely-used exceljs Node.js library, which provides Excel and CSV file generation capabilities. The flaw originates in the CSV serialization path, specifically identifiable at lib/csv/csv.js lines 109-182 of upstream exceljs v4.4.0 (https://github.com/exceljs/exceljs/blob/v4.4.0/lib/csv/csv.js#L109-L182), where cell values are written to CSV output without checking for or neutralizing formula-trigger characters. CWE-1236 (Improper Neutralization of Formula Elements in a CSV File) precisely describes this root cause: spreadsheet applications interpret cell values beginning with =, +, -, or @ as formula directives rather than literal data, executing arbitrary expressions including network-connected functions like HYPERLINK or DDE. The CPE cpe:2.3:a:exceljs:exceljs:*:*:*:*:*:*:*:* identifies the upstream exceljs library as the origin of this code, underscoring that exceljs-hardened inherited the vulnerable implementation despite its security-hardening mandate.
Know when Exceljs gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N
Network delivery with no auth or complexity needed; user must open CSV (UI:R); scope changes to spreadsheet app executing the formula (S:C); high confidentiality, low integrity impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
exceljs-hardened versions before 5.0.0 fail to neutralize leading equals, plus, minus, or at signs in cell values written to CSV output. Attackers who can influence exported cell values can inject formulas that execute when the CSV file is opened in a spreadsheet application, potentially exfiltrating data or performing other malicious actions.
Executive ViewAI
exceljs-hardened before version 5.0.0 contains a CSV formula injection vulnerability affecting organizations that export user or external data to CSV format. While no public exploit identified at time of analysis, attackers could embed malicious formulas triggering data exfiltration or unauthorized spreadsheet modifications when victims open files in Microsoft Excel or LibreOffice Calc. Exposure exists for any system using exceljs-hardened without input sanitization of exported cell values.
No vendor-released patch identified at time of analysis. Interim mitigations: Input validation-sanitize all exported cell values by removing or escaping leading formula characters (=, +, -, @) at the point of CSV generation. Output handling-document that CSV files should be opened with formula calculation disabled and advise customers on safe import practices in Microsoft Excel and LibreOffice Calc. Access controls-restrict CSV export functionality to authenticated, authorized users and implement audit logging for all export operations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Related Vulnerabilities in exceljs-hardened Multiple Security Vulnerabilities
View all 4An unescaped payload in exceljs <v1.6 allows a possible XSS via cell value when worksheet is displayed in browser. Rated
Parsing an untrusted XLSX workbook with ExcelJS through 4.4.0 can exhaust the Node.js heap and abort the entire process,
Denial of service in ExcelJS through 4.4.0: a crafted XLSX containing a <row> element numbered far beyond Excel's 1,048,
ExcelJS through 4.4.0 can be crashed by a crafted .xlsx workbook whose worksheet col element has an unbounded max value:
Loading a maliciously crafted spreadsheet can abort the entire Node.js process in ExcelJS through 4.4.0: a single define
Loading an attacker-supplied .xlsx workbook with ExcelJS through 4.4.0 can exhaust CPU and memory and terminate the Node
Denial of service in ExcelJS through 4.4.0 lets a remote, unauthenticated attacker stall a Node.js service for seconds a
Heap-exhaustion denial of service in ExcelJS through 4.4.0 lets an unauthenticated attacker crash a Node.js application
ExcelJS through 4.4.0 leaks temporary files and open file descriptors when the streaming WorkbookReader aborts mid-parse
Arbitrary local file read in ExcelJS lets a crafted image filename pull any file the Node.js process can read into a gen
EUVD-2026-64684
GHSA-4w2g-jrqm-g99q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB