Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-105219

Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

mwilliamson mammoth.js

Default version status: unaffected

  • 1.3.0 to < 1.12.3affected
pkg:npm/mammoth

References