Skip to main content
← All vulnerabilities
CVE-2026-105219

Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.12.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • mwilliamson mammoth.js

    From 1.3.0 · fixed in 1.12.3

References 5

GitHub · mwilliamson/mammoth.js

vulncheck.com