CVE-2026-97151

published 24 Sep 2026 · updated 24 Sep 2026

mammoth (aka mammoth.js) before 1.12.2 is vulnerable to prototype pollution when reading the styles defined in a document

8.4HighCVSS 8.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.12.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mwilliamson<1.12.21.12.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-97151 severity on Zeptric[![CVE-2026-97151](https://zeptric.io/badge/cve/CVE-2026-97151.svg)](https://zeptric.io/cve/CVE-2026-97151)