Bug 2498461

Summary: CVE-2026-59923 python-mistune: Mistune: Arbitrary code execution through crafted Markdown links [fedora-all]
Product: [Fedora] Fedora Reporter: Matteo Signorini <msignori>
Component: python-mistuneAssignee: Miro Hrončok <mhroncok>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 45CC: epel-packagers-sig, mhroncok, neil, python-packagers-sig, romain.geissler
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["32628229-32fa-4fad-a577-bda2933c8954"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2491169    
Bug Blocks: 2498142    

Description Matteo Signorini 2026-07-09 11:00:56 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Miro Hrončok 2026-07-09 12:12:01 UTC
This issue is fixed in version 3.3.0.

Comment 2 Aoife Moloney 2026-08-17 15:16:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.