CVE-2026-97151: mwilliamson mammoth.js · Prototype Pollution
Affects mwilliamson mammoth.jsSource CVE Database V5
Not known to be exploited · CVSS 8.4 High : upgrade to 1.12.2 soon.
Data as of 6 Nov 2026, 23:24 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.12.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 7 Nov 2026.
What to do
Upgrade mammoth.js and mammoth to 1.12.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| mwilliamsonmammoth.js | Affected
| Fixed in
|
npmmammothpkg:npm/mammothOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade mammoth.js to version 1.12.2 or later, where this vulnerability is fixed. If upgrading is not immediately possible, ensure that the externalFileAccess option is not enabled (set to false) to prevent local file disclosure.
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.
References
- raw.githubusercontent.com/mwilliamson/mammoth.js/master/NEWS (opens in a new tab)
- npmjs.com/package/mammoth (opens in a new tab)
- github.com/mwilliamson/mammoth.js/commit/31f0c370be4b95ac4fa285fea3be970606735f16 (opens in a new tab)
- github.com/mwilliamson/mammoth.js/commit/2888fa158d67c1419199f152326e12a05618b53e (opens in a new tab)