Read the docs
TI-2026-63949 Aliases CVE-2026-97151GHSA-89qm-22qm-xf5h

Prototype pollution in mwilliamson mammoth.js

Priority LOW 36CWE-1321Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
High · Low · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00355 29th percentileScored 2026-11-08
Fix Fixed mammoth.js (mwilliamson): 1.12.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
mwilliamsonmammoth.jsbefore 1.12.21.12.2Patch availableCNA
  • mammoth.js Vendormwilliamson Affected before 1.12.2 Fixed in 1.12.2 Patch available CNA

Remediation

  • Fix · CNA mammoth.js (mwilliamson) Fixed in 1.12.2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-97151
  2. 2026-10-03 Alias added: GHSA-89qm-22qm-xf5h

References

  • TI-2026-67557 Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser CVSS 4.0HIGH 8.7

Sources