© 2025-2026 PySpect
First version without a known vulnerability: 3.3.0
Mistune renderers/html.safe_url: HARMFUL_PROTOCOLS list misses legacy and chained schemes that historically chain to `javascript:` execution
Fixed in: 3.3.0
Mistune toc / TableOfContents directive: heading IDs use predictable `toc_N` numbering with no slugification, allowing collision with attacker-controlled `id="toc_N"` content
Fixed in: 3.3.0
Mistune: Arbitrary File Read via Include directive path traversal
Fixed in: 3.3.0
Mistune plugins/formatting: quadratic-time parsing on long runs of `~~x~~`, `==x==`, and `^^x^^` markers (strikethrough / mark / insert)
Fixed in: 3.3.0
Mistune: XSS via unescaped class option in Admonition directive
Fixed in: 3.3.0
Mistune: XSS via percent-encoded javascript URI bypass in safe_url()
Fixed in: 3.3.0
Mistune inline_parser: quadratic-time parsing on long runs of `**x**` and `***x***` emphasis pairs
Fixed in: 3.3.0
Mistune directives/include: mutual `.. include::` recursion crashes the renderer with `RecursionError`, denial of service via two attacker-controlled markdown files
Fixed in: 3.3.0
Mistune block_parser: quadratic-time parsing on long lists of repeated reference-link definitions
Fixed in: 3.3.0
Mistune: Potential DoS via quadratic-time parsing in parse_link_text
Fixed in: 3.3.0
Mistune Image Directive CSS Injection Vulnerability
Fixed in: 3.2.1
Mistune TOC Anchor Injection XSS
Fixed in: 3.2.1
Mistune Heading ID Attribute has Injection XSS
Fixed in: 3.2.1
Mistune has XSS via unescaped figclass/figwidth in Figure directive
Fixed in: 3.2.1
Mistune Math Plugin has an XSS Escape Bypass
Fixed in: 3.2.1
Mistune has a ReDoS in LINK_TITLE_RE that allows denial of service via crafted Markdown input
Fixed in: 3.2.1
Mistune vulnerable to catastrophic backtracking
Fixed in: 2.0.3, a6d43215132fe4f3d93f8d7e90ba83b16a0838b2
Cross-site Scripting in Mistune
Fixed in: 0.8
mistune Cross-site scripting (XSS) vulnerability
Fixed in: 0.8.1, 5f06d724bc05580e7f203db2d4a4905fc1127f98