Vulnerability in Exceljs
CVE-2026-128347
ExcelJS through 4.4.0 contains an arbitrary file read vulnerability in the streaming WorkbookWriter that allows attackers to read local files by supplying crafted image filenames to addImage. Attackers can inject ../ path segments into user-controlled image paths, causing addMedia to embed any file readable by the Node.js process under xl/media in the generated workbook.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.006, 46.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/exceljs/exceljs (product)
- github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-f9m8-8qmf-qq29 (third-party-advisory)
- github.com/exceljs/exceljs/blob/v4.4.0/lib/stream/xlsx/workbook-writer.js (technical-description)
- github.com/exceljs/exceljs/blob/v4.4.0/lib/stream/xlsx/workbook-writer.js (technical-description)
- www.vulncheck.com/advisories/exceljs-through-4.4.0-arbitrary-file-read-via-work… (third-party-advisory)