Skip to main content

ExcelJS EUVDEUVD-2026-125157

| CVE-2026-128342 HIGH
Unchecked Input for Loop Condition (CWE-606)
2026-11-13 VulnCheck GHSA-qwf5-f797-39mm
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted .xlsx to upload/parse endpoint
  2. Delivery
    ExcelJS loads workbook with huge sheetId
  3. Exploit
    App accesses worksheets/getWorksheet/writeBuffer
  4. Execution
    Sparse-array walk stalls event loop
  5. Impact
    Service unresponsive, denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Unchecked input for loop condition
Exploitation Conditions

Exploitation requires the target application to (1) load an attacker-controlled workbook via ExcelJS's xlsx.load(), where the crafted xl/workbook.xml contains an oversized sheetId (growing cost linearly up to the 32-bit integer limit), and (2) subsequently perform any ordinary worksheet access - reading wb.worksheets, calling getWorksheet(name), or writeBuffer() - which triggers the sparse-array walk. The practical prerequisite is therefore a service that ingests untrusted .xlsx files on a Node.js event loop. Limiting factors: deployments that only process trusted/self-generated workbooks, or that run parsing in an isolated worker/process, are not meaningfully impacted; no authentication or user interaction is required by the CVSS vector, and the block is caused by normal use of the loaded workbook rather than any unusual API call. The fixed-version evidence in the input applies to the exceljs-hardened fork (fixed 5.1.0), not upstream ExcelJS, so upstream users should verify remediation with the vendor.

Impact

This is a genuine availability-only denial-of-service issue, and the signals are internally consistent rather than conflicting. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated trigger with no attack requirements, and the impact metrics isolate the damage to availability (VC:N/VI:N/VA:H) - there is no confidentiality or integrity exposure, so despite the 8.7 'High' score this is a crash/hang class problem, not a code-execution or data-breach one. The vuln.today decision label is 'this_week' (not act_now/emergency), the finding was reported by VulnCheck, and there is NO CISA KEV listing and NO EPSS score supplied, so there is no evidence of active or widespread exploitation - exploitation status is best described as a public PoC reference existing. The practical risk is real but conditional: it only matters for services that parse attacker-controlled .xlsx workbooks on a shared event loop (typical Node.js server), where a single crafted file stalls the process for seconds-to-tens-of-seconds per access. Net: a legitimate 'this week' remediation priority for exposed upload/processing services, but lower urgency than its numeric score suggests for deployments that never ingest untrusted spreadsheets. Note one data caveat: CWE is labeled CWE-606 (Unchecked Input for Loop Condition) in the primary record but CWE-770 (Allocation/Resource Without Limits) in the GHSA advisory - both are plausible for this unbounded-index walk.

Exploit ScenarioDerived

An attacker uploads or submits a valid-looking .xlsx workbook whose xl/workbook.xml declares an enormous sheetId (e.g. 100000000) to a Node.js service that uses ExcelJS to parse spreadsheets. The file loads in milliseconds, but the first ordinary access to wb.worksheets, getWorksheet(), or writeBuffer() forces a walk of a sparse array sized to the largest id, blocking the single event loop for ~11-21 seconds and starving all other requests. A detailed public PoC reference exists in the GHSA advisory; it is not verified here as weaponized exploit code.

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

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

Alert me

AnalysisAIv1 – Nov 13, 2026

Denial of service in ExcelJS through 4.4.0 lets a remote, unauthenticated attacker stall a Node.js service for seconds at a time by supplying a crafted .xlsx workbook whose xl/workbook.xml declares an oversized worksheet sheetId. Loading the file is almost free (about 12 ms in the published reproduction), but the sparse-array walk behind wb.worksheets, getWorksheet(name) or writeBuffer() scales linearly with the largest sheetId, blocking the single-threaded event loop for roughly 11 seconds and 21 seconds respectively. No active exploitation is confirmed (the CVE is not in CISA KEV) and no EPSS score was supplied, but the upstream advisory ships a public proof-of-concept reference; impact is availability only, and services that never ingest untrusted workbooks are not meaningfully exposed.

RemediationAI

For consumers of the hardened fork, upgrade to exceljs-hardened 5.1.0, the version the advisory names as fixed (https://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-9vv6-5g3h-prg5). For upstream ExcelJS through 4.4.0, no vendor-released patch was identified at time of analysis, so upstream users should confirm remediation status with the maintainers at https://github.com/exceljs/exceljs before relying on a release. Until a patched upstream version is confirmed, the most direct compensating control is to pre-screen uploads: unzip the .xlsx, parse xl/workbook.xml, and reject any workbook where a sheetId exceeds a small bound (for example, more than the number of sheet elements or above a fixed ceiling such as 10,000) or is non-contiguous, rewriting the ids to a dense sequence before handing the buffer to ExcelJS - the trade-off is an extra XML parse and the need to keep the sanitizer in sync with the library's loader. Confining both xlsx.load() and every later worksheet access (worksheets, getWorksheet, writeBuffer) to a worker thread or child process with a hard timeout keeps the main event loop responsive at the cost of IPC overhead and continued CPU burn inside the worker. Note that request body size limits and upload quotas do not mitigate this, because the payload is tiny. Scheduling: this issue is rated for remediation this week rather than as an emergency, so it can be folded into the current patch cycle rather than triggering an out-of-band response.

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 stores worksheets in a JavaScript sparse array indexed directly by the sheetId read from each <sheet> element in xl/workbook.xml (referenced source locations: lib/doc/workbook.js lines 119-125 and 200-206 at tag v4.4.0). Because the array is indexed rather than appended, a single entry with sheetId="100000000" pushes the array length to 100,000,001, and every iteration that walks it - the worksheets getter, getWorksheet(name) lookup, and writeBuffer() serialization - pays cost proportional to the largest id, saturating near the 32-bit integer limit. The CVE is recorded as CWE-606 (unchecked input for loop condition, i.e. the loop bound is attacker-controlled), while the upstream advisory classifies the same behavior as CWE-770 (allocation of resources without limits or throttling); both point to a missing bound on a numeric field parsed from untrusted XML before it is used as an index. Exposure comes from Node.js's single-threaded event loop: while the array is being walked, the process serves no other request, so one small upload degrades every concurrent user of the same worker. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VA:H) and the assessed CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) agree that no privileges or user interaction are needed and that confidentiality and integrity are untouched; CPE data (cpe:2.3:a:exceljs:exceljs:*:*:*:*:*:*:*:*) leaves the version wildcard open, with EUVD recording 0 through 4.4.0 as affected. Note that the parsing stage itself is not where the time is spent - the crafted id is accepted silently at load time, so input-size limits do not address the flaw.

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.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

A remote, unauthenticated attacker supplies a crafted workbook that any normal processing access turns into an event-loop stall (AV:N/AC:L/PR:N/UI:N); impact is availability-only, so C:N/I:N/A:H.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

ExcelJS through 4.4.0 contains a denial of service vulnerability that allows attackers to block the event loop by supplying an unbounded sheetId in xl/workbook.xml. Attackers can provide a workbook with a huge sheetId, making the sparse worksheet array walk stall worksheets, getWorksheet and writeBuffer for seconds.

Technical POC Analysis

Bug class.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-128342 is a high-severity denial-of-service vulnerability in the ExcelJS library (through version 4.4.0) that could allow an attacker to stall our Node.js services for tens of seconds by uploading a malicious .xlsx file. Any customer-facing application that lets users upload Excel workbooks is at risk of availability disruption, which could degrade service for all users and impact revenue and reputation. Leadership should prioritize remediation because the vulnerability is remotely exploitable without authentication and no vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor patch identified at time of analysis. Interim mitigations include: validating and limiting worksheet sheetId in uploaded .xlsx files before processing, restricting file upload sizes, isolating ExcelJS parsing in a separate worker process with execution timeouts, and applying rate limiting to upload endpoints. Services that do not ingest untrusted workbooks are not exposed and require no action.

Threat Intelligence Overview

EPSS Score
0.6%
Top 49% exploitable
Prevalence
High
ExcelJS is a very widely used Node.js/npm spreadsheet library
Data Quality
5 sources
Confidence: Medium

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.6%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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

CVE-2026-78208 HIGH
8.7 Aug 24

Path traversal in exceljs-hardened before 5.0.0 allows unauthenticated attackers to read arbitrary files from the server

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