CVE-2026-59923Mistune Project Mistune
Medium 6.1 No auth needed
Follow: this CVE · Mistune Project · Mistune Project Mistune We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- Jul 8, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, HTMLRenderer.safe_url() does not block percent-encoded javascript URIs, allowing attacker-supplied Markdown links or images to bypass URL protections and execute script in rendered HTML. This issue is fixed in version 3.3.0.
What to do
- Apply the vendor's security update for Mistune.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | mistune |
< 3.3.0 |
3.3.0 |
pip install "mistune>=3.3.0" |
| PyPI | mistune |
< 3.3.0 |
3.3.0 |
pip install "mistune>=3.3.0" |
Per OSV / GitHub Advisories (GHSA-8c25-4j27-2rv3, PYSEC-2026-2211). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mistune_project | mistune | < 3.3.0 |
Official advisories
- Security update for python-mistune · SUSE · openSUSE-SU-2026:21339-1 · Jul 14, 2026 High
- Security update for python-mistune · SUSE · SUSE-SU-2026:22655-1 · Jul 14, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Exploit Vendor Advisory