CVE-2026-128337
ExcelJS through 4.4.0 Prototype Pollution via x14 Conditional Formatting Rule ID
Description
ExcelJS through 4.4.0 contains a prototype pollution vulnerability in mergeConditionalFormattings that allows attackers to modify Object.prototype by supplying an x14:cfRule id of proto. Attackers can craft an xlsx file that, when loaded with xlsx.load(), sets properties such as type, direction, border and cfvo on every object in the process until it restarts.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars.npm » exceljspreliminary | <= 4.4.0 | - |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128337.json
- Advisoryhttps://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-86ch-m4gp-r5xf
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-128337
- Advisoryhttps://www.vulncheck.com/advisories/exceljs-through-4.4.0-prototype-pollution-via-x14-conditional-formatting-rule-id
- Packagehttps://github.com/exceljs/exceljs
- Articlehttps://github.com/exceljs/exceljs/blob/v4.4.0/lib/xlsx/xform/sheet/worksheet-xform.js#L34-L42
- Articlehttps://github.com/exceljs/exceljs/blob/v4.4.0/lib/xlsx/xform/sheet/worksheet-xform.js#L55-L74
