CVE-2026-105219Published Oct 4, 2026 · Oct 4Updated Oct 28
Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser
mwilliamson mammoth.js
High8.7Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mwilliamson mammoth.js |
| No fix yet |
Original 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.
From the CVE record · VulnCheck