Skip to main content

ExcelJS CVE-2026-128345

| EUVDEUVD-2026-125154 MEDIUM
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-11-13 VulnCheck GHSA-4q98-w56f-7qh8
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Upload crafted .xlsx to parsing service
  2. Delivery
    Workbook loaded via xlsx.load
  3. Exploit
    Read shared-formula child cell.formula
  4. Execution
    slideFormula regex backtracks quadratically
  5. Persist
    Event loop blocked, requests stall
  6. Impact
    Service-wide denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) the application to load an attacker-controlled spreadsheet via ExcelJS (wb.xlsx.load) and (2) the application to subsequently read the .formula property of a cell that is a child of a shared formula - the translation of that shared formula to the child position is what invokes the vulnerable slideFormula regex. The crafted workbook must contain a shared master formula with a very long run of identifier characters (the PoC uses ~100,000 hyphens; Excel's own 8,192-character limit would cap cost near 30 ms, but the library enforces no limit). Limiting factors that reduce realistic risk: an application that never processes untrusted spreadsheets, or that loads workbooks but never reads shared-formula cell formulas, is not exposed; impact is a transient event-loop stall (temporary unavailability) rather than a crash or persistent outage, though it scales with the number of crafted cells.

Impact

This is a medium-severity denial-of-service issue, not a critical priority. The CVSS 4.0 score of 6.9 is driven solely by availability impact (VA:L) with no confidentiality or integrity impact (VC:N/VI:N) - the vector AV:N/AC:L/AT:N/PR:N/UI:N reflects a low-complexity, unauthenticated, network-reachable trigger, but the consequence is a temporarily blocked Node.js event loop (several seconds per crafted cell), not code execution or data compromise. No CISA KEV listing is present and no EPSS probability was supplied, so there is no signal of active or widespread exploitation; the vuln.today decision label is 'this_month' (routine remediation), not act_now or emergency. A detailed, runnable proof of concept is published in the GHSA advisory, which raises the practical likelihood of opportunistic abuse but is distinct from confirmed exploitation. The AV:N rating is somewhat generous: exploitation is only reachable if the consuming application loads an attacker-supplied spreadsheet AND reads the formula property of shared-formula cells, so real-world risk is concentrated in services that parse untrusted .xlsx uploads. Note a data caveat: the authoritative advisory and fix (5.1.0) belong to the 'exceljs-hardened' fork, while this CVE covers upstream ExcelJS through 4.4.0, for which no fixed upstream version is stated - verify remediation path with the upstream project.

Exploit ScenarioDerived

An application that accepts user-uploaded Excel files (e.g., a reporting, import, or data-ingestion service) and reads cell formulas is handed a crafted .xlsx containing a shared formula whose master cell holds a ~100,000-character run of identifier characters (such as hyphens). When the app reads the child cell's formula, quadratic regex backtracking in slideFormula blocks the event loop for roughly 4.9 seconds per read, and an attacker multiplies the delay by including many crafted cells to deny service to all concurrent users. A working proof of concept is published in the GHSA advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 13, 2026

Reading the .formula property of a shared-formula child cell in ExcelJS (up to and including 4.4.0) triggers catastrophic regex backtracking in the slideFormula helper, blocking the Node.js event loop for several seconds per crafted cell so a malicious workbook can stall a server. Exploitation requires the application to load an attacker-controlled .xlsx via wb.xlsx.load and then read cell formulas from shared-formula children; it is unauthenticated over the network per the assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, CVSS 4.0 base 6.9), with availability-only impact that is transient rather than a crash. There is no CISA KEV entry and no confirmed public exploit code, though the upstream GHSA includes a working proof-of-concept description (100,000-character master formula blocking ~4.9 s); the vuln.today decision label is 'this_month', so this is a medium-severity denial-of-service issue to schedule into regular maintenance rather than an emergency.

RemediationAI

No vendor-released patch for upstream ExcelJS was identified at the time of analysis; the only fixed version in the supplied data is the exceljs-hardened fork, where this issue is resolved in 5.1.0 (GHSA-pr65-54q8-vhqm), so teams able to switch packages should upgrade to that fork's 5.1.0 or later. Where the upstream library must stay in place, the concrete compensating controls are: do not feed untrusted .xlsx files into wb.xlsx.load, or accept them only from trusted authenticated sources; reject or pre-screen workbooks whose shared master formulas exceed a sane length (Excel's own 8,192-character ceiling keeps cost near 30 ms, so enforcing that limit before parsing removes the quadratic blow-up, at the cost of rejecting otherwise unusual but valid files); avoid reading the .formula property on shared-formula child cells and rely on cached .value/.result instead, which skips the vulnerable slideFormula translation but loses formula text; and run workbook parsing in a worker thread or child process with a hard timeout so an event-loop stall is contained to the worker rather than the main request handler, accepting the added process overhead and the need to kill and recycle stalled workers. Track https://www.vulncheck.com/advisories/exceljs-through-4.4.0-redos-via-slideformula-shared-formula-translation and the upstream repository https://github.com/exceljs/exceljs for a patched release.

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 parses Office Open XML spreadsheets; in xl/worksheets/sheet1.xml a master cell can carry <f t="shared" ref="A3:A4" si="0">…</f> and child cells reference it with an empty <f t="shared" si="0"/> element. When the library resolves such a child cell's formula, slideFormula() in lib/utils/shared-formula.js rewrites the master formula's relative references for the child position using a regular expression whose cost is quadratic in the length of runs of identifier characters (CWE-1333, inefficient regular expression complexity). The PoC uses a master formula of roughly 100,000 hyphens; 40,000 characters cost ~0.8 s and 100,000 cost ~4.9 s, and the stall repeats for every crafted cell read, so the total delay multiplies with cell count. Excel itself caps a formula at 8,192 characters, where the cost is about 30 ms, but the library enforces no such limit, which is what makes the crafted input damaging. The affected package is tracked as cpe:2.3:a:exceljs:exceljs:* with EUVD listing versions 0 through 4.4.0; the same code path exists in the exceljs-hardened fork, whose advisory (GHSA-pr65-54q8-vhqm) documents the vulnerable range as <= 5.0.2.

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

Remotely supplied file processed without auth or interaction in server contexts gives AV:N/AC:L/PR:N/UI:N; impact is only a temporary event-loop stall, so C:N/I:N/A:L.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

ExcelJS through 4.4.0 contains a regular expression denial of service vulnerability in slideFormula in lib/utils/shared-formula.js when translating shared formulas to child cells. Attackers can supply a crafted spreadsheet with very long master formulas, such as runs of hyphens, causing quadratic regex backtracking that blocks the Node.js event loop.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
High
very popular Node.js Excel library, millions of weekly npm downloads
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +34
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-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