Mistune denial of service in Markdown link parsing
lepture mistune
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| lepture mistune |
|
|
Original description
Mistune before 3.3.3 contains a denial of service vulnerability in InlineParser.parse_link that allows attackers to cause quadratic CPU growth by supplying balanced nested brackets. Attackers can submit crafted Markdown with thousands of nested bracket pairs not forming a valid link, triggering repeated _contains_nested_link scans that exhaust CPU in parsing applications.
From the CVE record · VulnCheck