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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm mammoth | >= 1.3.0, < 1.12.3 | 1.12.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm mammoth | >= 1.3.0, < 1.12.3 | 1.12.3 |
References
- GitHub Issue #487 issue-tracking
- github.com patch
- github.com technical-description
- github.com product
- VulnCheck Advisory: Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser third-party-advisory
- ENISA EUVD EUVD-2026-92122 third-party-advisory