Vulnerability

CVE-2026-105219

highCVSS 4.0 8.7Published 4 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Mammoth.js 1.3.0 before 1.12.3 contains a regular expression denial of service vulnerability in the style map tokeniser in lib/styles/parser/tokeniser.js due to overlapping regex alternatives. Attackers can supply a crafted .docx with an unterminated quoted string of repeated backslash escapes in mammoth/style-map to block the Node.js event loop.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /mwilliamson/mammoth.js
  • github.com /mwilliamson/mammoth.js/blob/1.12.2/lib/styles/parser/token…
  • github.com /mwilliamson/mammoth.js/commit/dc49225425c2c07de0a6dc3529f2…
  • github.com /mwilliamson/mammoth.js/issues/487
  • www.vulncheck.com /advisories/mammoth-js-1.3.0-before-1.12.3-redos-via-style-…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning