Allocation of Resources Without Limits or Throttling 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.64% (52nd 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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-EXCELJSHARDENED-22552473
  • published15 Nov 2026
  • disclosed13 Nov 2026
  • creditMatéo Florian Callec

Introduced: 13 Nov 2026

NewCVE-2026-128344  (opens in a new tab)
CWE-770  (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 Allocation of Resources Without Limits or Throttling via unbounded image anchor column parsing in Worksheet.getColumn, triggered when an application reads image positions from a workbook. An attacker can embed a drawing XML file (xl/drawings/drawing1.xml) containing an arbitrarily large anchor column index (e.g. 300000000), causing getImages() to walk the column list up to that index and allocate millions of Column objects until the process aborts with a fatal V8 heap out-of-memory error. Because the abort is a fatal V8 error, it cannot be caught with try/catch, making the denial of service unrecoverable.

PoC

In xl/drawings/drawing1.xml of a workbook containing an image:

<xdr:from><xdr:col>300000000</xdr:col> … </xdr:from>
const wb = new ExcelJS.Workbook();
await wb.xlsx.load(buffer);              // 12 ms

wb.getWorksheet('S').getImages()[0].range.tl.col; // FATAL ERROR: ... JavaScript heap out of memory

With 3000000, the same read takes about 0.5 s and 640 MB of memory.

CVSS Base Scores

version 4.0
version 3.1