PT-2026-56512 · Pypi · Mistune
Published
2026-07-08
·
Updated
2026-07-08
·
CVE-2026-59929
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Mistune versions prior to 3.3.0
Description
The
safe url filter in src/mistune/renderers/html.py fails to block several legacy or chained URI schemes. While it restricts javascript:, vbscript:, file:, and data:, it allows schemes such as feed:, view-source:, jar:, livescript:, mocha:, ms-its:, mk:, and res: to be included in rendered href and src attributes. This could allow the execution of scripts in affected user agents.Recommendations
Update to version 3.3.0.
Fix
Incomplete List of Disallowed Inputs
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Mistune