mammoth is vulnerable to Denial of Service (DoS)
75
CVE Score
High
Denial of Service (DoS)
The style-map tokeniser matches quoted strings with stringPrefix, a regular expression whose escaped-character alternatives overlap. An unterminated quoted string of repeated backslash escapes in a document style map makes that expression backtrack without bound and blocks the event loop. The fix rewrites stringPrefix so those alternatives no longer overlap.
Upgrade the mammoth library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you convert untrusted documents that include a style map.
1.3.0 - 1.12.2
Fixed in 1.12.3mammoth is vulnerable to Denial of Service (DoS) in versions 1.3.0 - 1.12.2.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.