PYSEC-2026-2217

En bref

Publiée
Mise à jour
CVE
CVE-2026-59929
Alias
GHSA-qfrw-5rxm-mhh2
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, 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.

Paquets affectés

PaquetVersions
PyPI · mistuneintroduced 0, fixed 3.3.0

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database