CVE-2026-97151
HIGH 8.4CVSS 4.0mammoth (aka mammoth.js) before 1.12.2 is vulnerable to prototype pollution when reading the styles defined in a document. Converting a crafted .docx file allows an attacker to add arbitrary properties to Object.prototype. In 1.11.0 through 1.12.1, applications that convert further documents in the same process and return the converted HTML can also disclose the contents of local server files (to the party supplying the documents) by setting externalFileAccess to true.
- Published
- 24 Sep 2026
- Last modified
- 24 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Awaiting Analysis
- Weakness
- CWE-1321
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@mitre.org (Secondary) | CVSS 4.0 | HIGH 8.4 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
References
- https://github.com/mwilliamson/mammoth.js/commit/2888fa158d67c1419199f152326e12a05618b53e
- https://github.com/mwilliamson/mammoth.js/commit/31f0c370be4b95ac4fa285fea3be970606735f16
- https://raw.githubusercontent.com/mwilliamson/mammoth.js/master/NEWS
- https://www.npmjs.com/package/mammoth
History
- 25 Nov 2026 21:21 UTC ยท NVD: first stored (published 24 Sep 2026)