Unchecked Input for Loop Condition Affecting exceljs-hardened package, versions <5.1.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.68% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-EXCELJSHARDENED-22552466
  • published15 Nov 2026
  • disclosed13 Nov 2026
  • creditMatéo Florian Callec

Introduced: 13 Nov 2026

NewCVE-2026-128343  (opens in a new tab)
CWE-606  (opens in a new tab)

How to fix?

Upgrade exceljs-hardened to version 5.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Unchecked Input for Loop Condition via unbounded r attribute parsing in row-xform.js, where rows are stored in a sparse array indexed by the row number supplied in an XLSX file. An attacker can supply an XLSX file containing a row numbered far beyond Excel's limit of 1,048,576, causing getSheetValues(), workbook writes, and CSV export to iterate up to that number and block the event loop for a duration proportional to the row number chosen.

CVSS Base Scores

version 4.0
version 3.1