Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify target using marked 18.0.x
-
DeliverySend HTTP request with \x09\x0b\n payload
-
ExploitTrigger marked.parse() call
-
ExecutionInfinite recursion exhausts Node.js heap
-
PersistOOM crash terminates process
-
ImpactService unavailable
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions required-remote unauthenticated exploitation against default configurations of marked 18.0.0 or 18.0.1 in any deployment. The vulnerability triggers whenever the affected versions parse the specific 3-byte sequence through the standard marked.parse() or marked.parseInline() API calls, regardless of parser options, extensions, or configuration. Limiting factors: exploitation requires the application to accept and process markdown input from untrusted sources (user uploads, API endpoints, webhooks), and the application must actually invoke the marked parser on attacker-controlled data. Applications that only parse markdown from trusted internal sources or sanitize input to remove vertical tab characters before parsing are not exploitable. The vulnerability is version-specific-only installations running exactly version 18.0.0 or 18.0.1 are affected, which represents a brief release window that limits the potential victim population. |
| Impact | This is a critical-priority vulnerability for organizations exposing markdown parsing to untrusted input. The CVSS v4.0 vector (AV:N/AC:L/PR:N/UI:N/VA:H) confirms network-accessible attack surface with low complexity and no authentication requirement, making it trivially exploitable. The attack is fully automatable-attackers can send the 3-byte payload to any HTTP endpoint that processes markdown (user comments, documentation generators, CMS platforms, API documentation renderers) and immediately crash the service. While no EPSS or KEV data is provided, the simplicity of the exploit input (publicly disclosed in GitHub advisory GHSA-6v9c-7cg6-27q7) means proof-of-concept code requires no specialized tooling. Real-world risk is high for internet-facing services but constrained to availability impact only-no data theft or code execution. The narrow affected version range (18.0.0-18.0.1) limits exposure window, but organizations running these specific versions face certain denial of service if markdown parsing is reachable. Patch availability in 18.0.2 makes this immediately remediable, elevating priority for emergency patching. Conflict note: CVSS reflects complete availability loss, justifying high severity despite single-dimension impact. |
| Exploit ScenarioDerived | An attacker identifies a web application using marked 18.0.1 for rendering user-submitted markdown in forum posts or API documentation. The attacker crafts an HTTP POST request with a comment body containing only three bytes: \x09\x0b\n (tab, vertical tab, newline). When the Node.js backend invokes marked.parse() on this input, the parser enters infinite recursion, allocating memory until the process crashes with 'JavaScript heap out of memory'. All concurrent users lose access to the service. The attacker can automate repeated attacks to maintain permanent denial of service with minimal bandwidth, as the 3-byte payload is trivial to generate and transmit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 24, 2026
Unauthenticated remote attackers can crash Node.js applications using marked versions 18.0.0-18.0.1 by sending a specially crafted 3-byte sequence (tab, vertical tab, newline). The infinite recursion loop exhausts memory and triggers an out-of-memory crash, enabling complete denial of service against any exposed markdown parsing endpoint. Vendor-released patch fixes the vulnerability in version 18.0.2. No public exploit identified at time of analysis, though the attack input is trivially simple and reproducible. CVSS v4.0 8.7 reflects high availability impact with network reachability and no authentication barriers.
RemediationAI
Upgrade marked to version 18.0.2 immediately, as confirmed by the GitHub security advisory at https://github.com/markedjs/marked/security/advisories/GHSA-6v9c-7cg6-27q7. For Node.js projects using npm, execute 'npm update marked' or explicitly set package.json dependency to '>=18.0.2'. For yarn users, run 'yarn upgrade marked'. If immediate upgrade is blocked by dependency conflicts, implement compensating controls: deploy input validation to reject markdown containing vertical tab characters (U+000B) before passing to the parser, accepting the trade-off of potentially rejecting legitimate edge-case content; configure Node.js memory limits via --max-old-space-size flag to contain blast radius, though this only converts crashes to controlled restarts; or isolate markdown parsing in separate worker processes with health monitoring and automatic restart policies to maintain service availability during attacks. All workarounds carry operational overhead and do not eliminate the vulnerability-patching to 18.0.2 remains the only complete remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in marked, a widely-used JavaScript markdown parser and compiler for Node.js environments (CPE: cpe:2.3:a:markedjs:marked). The root cause is classified as CWE-400 (Uncontrolled Resource Consumption), specifically manifesting as infinite recursion during the parsing phase. When the parser encounters the byte sequence \x09\x0b\n (horizontal tab U+0009, vertical tab U+000B, line feed U+000A), the lexer or tokenizer enters an unbounded recursive call stack. Each recursion allocates additional memory without termination conditions, escalating until the Node.js runtime exhausts available heap space and triggers an OOM (out-of-memory) exception. This is a classic algorithmic complexity vulnerability where malformed input exploits inefficient state machine handling in the parser, causing O(∞) time and space complexity from a constant 3-byte input.
Know when Marked gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
5DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 13 npm packages depend on marked (12 direct, 1 indirect)
Ecosystem-wide dependent count for version 18.0.0.
Executive ViewAI
CVE-2026-41680 affects marked, a widely-used Node.js markdown parsing library (versions 18.0.0-18.0.1), enabling unauthenticated attackers to crash applications through a 3-byte input sequence. Organizations using vulnerable versions in production markdown processing workflows-including documentation portals, content platforms, and API endpoints-face immediate denial of service risk with zero authentication required. Immediate patching to version 18.0.2 is critical to restore service availability.
Apply vendor patch. If immediate patching is not feasible: disable or restrict external access to markdown parsing endpoints; implement rate limiting and input validation on markdown processing endpoints to reject payloads containing consecutive whitespace sequences; monitor application logs for out-of-memory errors and service restarts as early indicators of exploitation attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Marked prior to version 0.3.17 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack due to catastrophi
Incomplete blacklist vulnerability in marked 0.3.2 and earlier for Node.js allows remote attackers to conduct cross-site
The marked package before 0.3.4 for Node.js allows attackers to cause a denial of service (CPU consumption) via unspecif
Marked is an open-source markdown parser and compiler (npm package "marked"). Rated high severity (CVSS 7.5), this vulne
EUVD-2026-25585
GHSA-6v9c-7cg6-27q7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB