Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser
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.
CVE-2026-105219
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-105219
mammoth.js
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "mwilliamson",
"product": "mammoth.js",
"versions": [
{
"status": "affected",
"version": "1.3.0",
"lessThan": "1.12.3",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/mammoth",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-105219
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #8679 · Revision 1
- Added to Heist Feed
- Publisher date