Is mistune 3.0 vulnerable?
PyPI · 3 releases from 3.0.0 to 3.0.2 · latest mistune is 3.4.0 · checked 18 Nov 2026
Yes: 15 known advisories
Yes. mistune 3.0.2, the last 3.0 release, is affected by 15 known security advisories (6 high, 9 medium), including CVE-2026-115355, CVE-2026-59922, CVE-2026-59925. At least one has no fixed release yet.
Is your project on an affected mistune?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting mistune 3.0.2
Mistune: Path Traversal and XSS in Include directive
- Affected
- <3.3.0
- Fixed in
- 3.3.0
Mistune renderers/html.safe_url: HARMFUL_PROTOCOLS list misses legacy and chained schemes that historically chain to `javascript:` execution
- Affected
- <3.3.0
- 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
- Affected
- <3.3.0
- Fixed in
- 3.3.0
Mistune: Arbitrary File Read via Include directive path traversal
- Affected
- <3.3.0
- Fixed in
- 3.3.0
Mistune plugins/formatting: quadratic-time parsing on long runs of `~~x~~`, `==x==`, and `^^x^^` markers (strikethrough / mark / insert)
- Affected
- <3.3.0
- Fixed in
- 3.3.0
Mistune: XSS via unescaped class option in Admonition directive
- Affected
- <3.3.0
- Fixed in
- 3.3.0
Mistune: XSS via percent-encoded javascript URI bypass in safe_url()
- Affected
- <3.3.0
- Fixed in
- 3.3.0
Mistune inline_parser: quadratic-time parsing on long runs of `**x**` and `***x***` emphasis pairs
- Affected
- <3.3.0
- 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
- Affected
- <3.3.0
- Fixed in
- 3.3.0
Mistune block_parser: quadratic-time parsing on long lists of repeated reference-link definitions
- Affected
- <3.3.0
- Fixed in
- 3.3.0
Mistune: Potential DoS via quadratic-time parsing in parse_link_text
- Affected
- <3.3.0
- Fixed in
- 3.3.0
Mistune Heading ID Attribute has Injection XSS
- Affected
- <3.2.1
- Fixed in
- 3.2.1
Mistune has XSS via unescaped figclass/figwidth in Figure directive
- Affected
- <3.2.1
- Fixed in
- 3.2.1
Mistune Math Plugin has an XSS Escape Bypass
- Affected
- <=3.2.0
- Fixed in
- No fix released
Mistune has a ReDoS in LINK_TITLE_RE that allows denial of service via crafted Markdown input
- Affected
- >=3.0.0a1 <3.2.1
- Fixed in
- 3.2.1
Every mistune 3.0.x release
Affected: 3.0.0 to 3.0.2. Latest mistune: 3.4.0.
| Version | Known advisories |
|---|---|
| mistune 3.0.2 | CVE-2026-115355, CVE-2026-59929, CVE-2026-59930, CVE-2026-59924, CVE-2026-59922, CVE-2026-59926, CVE-2026-59923, CVE-2026-59925, CVE-2026-59927, CVE-2026-59928, CVE-2026-49851, CVE-2026-44897, CVE-2026-44896, CVE-2026-44708, CVE-2026-33079 |
| mistune 3.0.1 | CVE-2026-115355, CVE-2026-59929, CVE-2026-59930, CVE-2026-59924, CVE-2026-59922, CVE-2026-59926, CVE-2026-59923, CVE-2026-59925, CVE-2026-59927, CVE-2026-59928, CVE-2026-49851, CVE-2026-44897, CVE-2026-44896, CVE-2026-44708, CVE-2026-33079 |
| mistune 3.0.0 | CVE-2026-115355, CVE-2026-59929, CVE-2026-59930, CVE-2026-59924, CVE-2026-59922, CVE-2026-59926, CVE-2026-59923, CVE-2026-59925, CVE-2026-59927, CVE-2026-59928, CVE-2026-49851, CVE-2026-44897, CVE-2026-44896, CVE-2026-44708, CVE-2026-33079 |
Which of your client projects are still on mistune 3.0?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact mistune version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other mistune versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.