Skip to content

CVE-2026-105219 Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser

HighCVSS 8.7 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm mammoth >= 1.3.0, < 1.12.3 1.12.3 Fixed

Affected products

ProductAffected versionsFixed in
npm mammoth >= 1.3.0, < 1.12.3 1.12.3

References