Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit untrusted Markdown body of '[](' repeated
-
ExploitEmpty [] label bypasses no_close_bracket_before guard
-
ExecutionEach opener triggers unbounded parenthesis scan to EOF
-
ImpactO(N^2) CPU pins worker at 100%, denial of service
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 | Exploitation requires an application to render attacker-controlled/untrusted Markdown using mistune < 3.3.4; the flaw triggers on the DEFAULT HTML renderer (mistune.create_markdown() / mistune.html()) with NO plugins enabled, so no non-default configuration is needed. The specific trigger is Markdown containing repeated empty-label link openers of the form '[](' - the empty [] label bypasses the no_close_bracket_before high-water-mark guard, so each opener drives parse_link_href to scan to end-of-document. No authentication and no user interaction are required (PR:N/UI:N). The principal LIMITING factor is deployment-dependent: the target application must accept and render untrusted Markdown input; impact is confined to CPU/availability (a single-threaded worker pinned to 100%), with no confidentiality or integrity effect, and larger inputs scale quadratically (6KB->0.8s, 48KB->~50s). |
| Impact | This is a genuine, actionable availability risk rather than a paper-high CVSS. The CVSS 3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) describes a network-reachable, low-complexity, unauthenticated flaw with pure availability impact (no confidentiality or integrity loss), which is consistent with the described quadratic-time (CWE-400/CWE-407) denial of service. The SSVC signals reinforce priority: Exploitation=poc, Automatable=yes, Technical Impact=partial - the payload is trivial to generate and script, and the vendor advisory (GHSA-phmp-hrw4-r36r) includes a reproducible proof of concept with measured timings (48KB input stalls a worker ~50s on the default mistune.html renderer). The vuln.today decision label is 'this_week', not act_now/emergency, which fits an unauthenticated DoS with no code-execution or data-exposure component. There is NO CISA KEV listing and NO EPSS score in the supplied data, so there is no evidence of active in-the-wild exploitation and no modeled exploitation probability to compare against - this appears to be a credible but not yet weaponized issue. Net: a real priority for any service that renders untrusted Markdown with an affected mistune version, but bounded to availability only; treat as a worker-exhaustion/DoS hardening item to patch promptly rather than an incident. |
| Exploit ScenarioDerived | An application exposes an endpoint that renders user-supplied Markdown with mistune's default HTML renderer (e.g. a comment box, issue tracker, or documentation preview). An unauthenticated attacker submits a small body consisting of the pattern '[](' repeated (roughly 48KB pins a single worker for ~50 seconds), driving O(N^2) CPU in parse_link_href. A vendor-reproduced public PoC exists, so repeated or concurrent requests can starve the worker pool and deny service to legitimate users. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Rendering untrusted Markdown with Mistune before 3.3.4 can pin a single worker at 100% CPU because repeated empty-label link openers of the form []( make parse_link_href rescan to end-of-document for each opener, producing quadratic CPU work; the flaw is reachable through the default HTML renderer with no plugins. The issue is remotely triggerable without authentication or user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), and the advisory includes a proof-of-concept payload; active exploitation is not confirmed by CISA KEV. Mistune 3.3.4 fixes it.
RemediationAI
Upgrade to Mistune 3.3.4 or later; vendor-released patch: 3.3.4. The advisory states the issue is fixed in 3.3.4 and points to the release at https://github.com/lepture/mistune/releases/tag/v3.3.4 and the fix commit at https://github.com/lepture/mistune/commit/b4dd3284e52ec741ed9a227db29ade9017828e90. The advisory does not describe a validated workaround; because the documented trigger path is rendering untrusted Markdown through the default HTML renderer, deployments that cannot immediately upgrade should avoid feeding attacker-controlled Markdown to Mistune's default renderer, but this is a deployment restriction rather than a vendor-validated fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mistune is a Python Markdown parser with renderers and plugins. The advisory maps this to CWE-400 (uncontrolled resource consumption) and also cites CWE-407 (inefficient algorithm). In src/mistune/helpers.py, parse_link_href performs a parenthesis-balancing scan that can run to end-of-document when it encounters unmatched opening parentheses. In src/mistune/inline_parser.py, an empty [] link label matches early and bypasses the no_close_bracket_before high-water-mark guard, while no_link_before advances only past the short label; successive []( candidates therefore each trigger a full remaining-document scan. The trigger is documented against the default mistune.create_markdown()/mistune.html() renderer with no plugins, and measurements show quadratic scaling: 6KB input took 0.80s, 12KB 3.15s, 24KB 12.5s, and 48KB about 49.8s. The CPE cpe:2.3:a:lepture:mistune:*:*:*:*:*:*:*:* covers the affected package. Impact is confined to CPU/availability, with no confidentiality or integrity effect.
Know when Mistune 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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Untrusted Markdown is rendered remotely without auth or interaction on the default renderer (AV:N/AC:L/PR:N/UI:N); quadratic CPU exhaustion yields availability-only impact (A:H, C:N/I:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.4, parse_link_href performs an unbounded parenthesis-balancing scan to the end of the document for each unmatched opening parenthesis reached through an empty [] link label. In src/mistune/helpers.py and src/mistune/inline_parser.py, the empty label bypasses no_close_bracket_before, and no_link_before advances only past the short label, so successive [] ( candidates repeatedly scan the remaining document. Rendering untrusted Markdown with the default HTML renderer and no plugins can perform quadratic CPU work and keep a worker at 100 percent utilization. This issue is fixed in version 3.3.4.
Blast Radius
ecosystem impact- 42 pypi packages depend on mistune (14 direct, 29 indirect)
Ecosystem-wide dependent count for version 3.3.4.
Articles & Coverage 1
Technical POC Analysis
CWE-400 (Uncontrolled Resource Consumption); the advisory also tags CWE-407 (Inefficient Algorithmic Complexity).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The Markdown parsing library Mistune, used in many internal and customer-facing applications, contains a high-severity flaw that allows an unauthenticated attacker to exhaust server CPU resources by sending a specially crafted Markdown document. This can lead to service outages or degraded performance for any application that processes untrusted Markdown, affecting both internal users and external customers. Leadership should prioritize remediation to maintain service availability and prevent potential reputational and financial damage.
Apply vendor patch.
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.
Uncontrolled CPU consumption in Mistune, a Python Markdown parser, allows remote unauthenticated attackers to cause deni
Denial of service in Mistune (the lepture Python Markdown parser) before 3.3.0 lets remote unauthenticated attackers exh
Denial of service in Mistune, a Python Markdown parser, affects all versions prior to 3.3.0 when the strikethrough, mark
Denial of service in Mistune, a widely used pure-Python Markdown parser, affects all versions prior to 3.3.0 where the d
Cross-site scripting in Mistune Python Markdown parser (all versions before 3.3.0) allows attacker-controlled Markdown c
Cross-site scripting in Mistune prior to 3.3.0 stems from an incomplete URI scheme blocklist in the `safe_url` filter, p
mistune.py in Mistune 0.7.4 allows XSS via an unexpected newline (such as in java\nscript:) or a crafted email address,
Path traversal in Mistune's Include plugin allows reading arbitrary files from the server filesystem when processing att
Unbounded recursion in Mistune's Include directive (all versions prior to 3.3.0) can be triggered by a pair of mutually-
Quadratic denial of service in Mistune's Markdown parser (parse_link_text) affects versions 3.2.0, 3.2.1 and main prior
Denial of service in Mistune 3.3.0 through 3.3.3 allows unauthenticated remote attackers to exhaust CPU and stall reques
Predictable heading anchor ID generation in Mistune's toc plugin (all versions prior to 3.3.0) enables same-page navigat
EUVD-2026-127355
GHSA-phmp-hrw4-r36r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB