Skip to main content
VulnerabilityPublished

CVE-2026-97151: mwilliamson mammoth.js · Prototype Pollution

Affects mwilliamson mammoth.jsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.4 High : upgrade to 1.12.2 soon.

Data as of 6 Nov 2026, 23:24 UTC

CVSS 4.0 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
mwilliamsonmammoth.jsAffected
  • <1.12.2
Fixed in
  • 1.12.2
npmmammothpkg:npm/mammothOther threatsAffected
  • <1.12.2
Fixed in
  • 1.12.2

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

Community reviews

Loading reviews…