Bug 2498564 - CVE-2026-59930 python-mistune: Mistune: Same-page navigation redirection due to predictable heading IDs [fedora-all]
Summary: CVE-2026-59930 python-mistune: Mistune: Same-page navigation redirection due ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-mistune
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["7531484f-7cd3-4b30-acf7-a...
Depends On:
Blocks: CVE-2026-59930
TreeView+ depends on / blocked
 
Reported: 2026-07-09 16:53 UTC by Matteo Signorini
Modified: 2026-07-09 16:53 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matteo Signorini 2026-07-09 16:53:34 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, the toc plugin and TableOfContents directive generate heading IDs as predictable toc_N values without slugifying the heading text, allowing attacker-controlled id="toc_N" content to collide with generated anchors and redirect same-page navigation, CSS selectors, or JavaScript handlers. This issue is fixed in version 3.3.0.


Note You need to log in before you can comment on or make changes to this bug.