Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-41680: CWE-400: Uncontrolled Resource Consumption in markedjs marked

0
High
VulnerabilityCVE-2026-41680cvecve-2026-41680cwe-400cwe-674cwe-835
Published: Fri Apr 24 2026 (04/24/2026, 17:26:27 UTC)
Source: CVE Database V5
Vendor/Project: markedjs
Product: marked

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/24/2026, 17:51:03 UTC

Technical Analysis

The marked markdown parser and compiler versions from 18.0.0 up to but not including 18.0.2 are vulnerable to uncontrolled resource consumption (CWE-400) due to an infinite recursion triggered by a crafted 3-byte input sequence (\x09\x0b\n). This input causes the parser to enter an infinite loop, resulting in unbounded memory allocation and eventual crash of the Node.js host application via out-of-memory conditions. This vulnerability is identified as CVE-2026-41680 with a CVSS 4.0 base score of 8.7 (high severity). The issue is resolved in marked version 18.0.2.

Potential Impact

An unauthenticated attacker can cause a denial of service by crashing the Node.js application using marked versions 18.0.0 or 18.0.1 through a crafted input that triggers infinite recursion and memory exhaustion. This can disrupt service availability but does not indicate code execution or data breach from the provided data.

Mitigation Recommendations

Upgrade marked to version 18.0.2 or later, where this vulnerability is fixed. Patch status is confirmed by the version range and fixed version information. No other mitigations are indicated or required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-22T03:53:24.406Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69ebaa0487115cfb685ef42a

Added to database: 4/24/2026, 5:36:04 PM

Last enriched: 4/24/2026, 5:51:03 PM

Last updated: 4/24/2026, 8:26:25 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses