Bug 2481721 (CVE-2026-44899) - CVE-2026-44899 python-mistune: Mistune: Information disclosure via CSS injection in Image directive plugin
Summary: CVE-2026-44899 python-mistune: Mistune: Information disclosure via CSS inject...
Keywords:
Status: NEW
Alias: CVE-2026-44899
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-26 22:01 UTC by OSIDB Bzimport
Modified: 2026-06-16 08:59 UTC (History)
14 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-26 22:01:56 UTC
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, the Image directive plugin validates the :width: and :height: options with a regex compiled as _num_re = re.compile(r"^\d+(?:\.\d*)?"). When the validated value is not a plain integer, render_block_image() inserts it directly into a style="width:...;" or style="height:...;" attribute. Because the value was accepted by the prefix-only regex, any CSS after the leading digits reaches the style= attribute verbatim and without escaping. This vulnerability is fixed in 3.2.1.


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