Prototype Pollution in Exceljs
CVE-2026-128336
ExcelJS through 4.4.0 contains a prototype pollution vulnerability that allows attackers to add numeric keys to Object.prototype through a crafted defined name referencing a __proto__ sheet. Attackers can supply an xlsx whose xl/workbook.xml definedName range targets __proto__, causing CellMatrix to write empty arrays onto Object.prototype process-wide when workbook.xlsx.load() runs.
Vulnerability class: Prototype Pollution
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L.
EPSS exploit prediction
EPSS 0.005, 41.6th 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-pwgq-2cgg-6ph9 (third-party-advisory)
- github.com/exceljs/exceljs/blob/v4.4.0/lib/utils/cell-matrix.js (technical-description)
- github.com/exceljs/exceljs/blob/v4.4.0/lib/doc/defined-names.js (technical-description)
- www.vulncheck.com/advisories/exceljs-through-4.4.0-prototype-pollution-via-prot… (third-party-advisory)