CVE-2026-97151 mammoth (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 propertie...
HighCVSS 8.4
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
mammoth (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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm mammoth(npm) | < 1.12.2 | 1.12.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm mammoth(npm) | < 1.12.2 | 1.12.2 |
References
- raw.githubusercontent.com release-notes vendor-advisory
- www.npmjs.com product
- github.com patch
- github.com patch
- ENISA EUVD EUVD-2026-85782 third-party-advisory