Skip to content
6.1 Medium

CVE-2026-59929 Mistune is a Python Markdown parser with renderers and plugins

Description

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the safe_url filter in src/mistune/renderers/html.py blocks only javascript:, vbscript:, file:, and data: schemes, allowing legacy or chained schemes such as feed:, view-source:, jar:, livescript:, mocha:, ms-its:, mk:, and res: to reach rendered href and src attributes and potentially execute script in affected user agents. This issue is fixed in version 3.3.0.

Affected products and versions

Product Affected versions Fixed in
mistune 3.3 earliest → < 3.3.0 3.3.0

References

Timeline

  1. Published
  2. Last modified
The 28 CVEs of mistune →
Track this CVE