Marked is a markdown parser and compiler. From 18.0.0 to 18.0.1, a critical Denial of Service (DoS) vulnerability exists in marked. By providing a specific 3-byte input sequence a tab, a vertical tab, and a newline (\x09\x0b\n)—an unauthenticated attacker can trigger an infinite recursion loop during parsing. This leads to unbounded memory allocation, causing the host Node.js application to crash via Memory Exhaustion (OOM). This vulnerability is fixed in 18.0.2.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/markedjs/marked/security/advisories/GHSA-6v9c-7cg6-27q7 Exploit, Vendor Advisory
- https://github.com/markedjs/marked/security/advisories/GHSA-6v9c-7cg6-27q7 Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.7 · marked_projectNVD modified 2026-10-26 21:10
Affected (CPE criteria) 1
cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:*
References 2
- https://github.com/markedjs/marked/security/advisories/GHSA-6v9c-7cg6-27q7 Exploit, Vendor Advisory
- https://github.com/markedjs/marked/security/advisories/GHSA-6v9c-7cg6-27q7 Exploit, Vendor Advisory