PYSEC-2026-2211

At a glance

Published
Updated
CVE
CVE-2026-59923
Aliases
GHSA-8c25-4j27-2rv3
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Description

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.

Affected packages

PackageVersions
PyPI · mistuneintroduced 0, fixed 3.3.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database