Skip to content
OpenAdvisories
High · 7.5 CVE-2026-105219 EUVD-2026-92122GHSA-fp33-4hh4-xjj5

Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser

Published Oct 4, 2026 · Updated Oct 5, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
mwilliamson mammoth.js 1.3.0 – < 1.12.3 1.12.3

References