A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_admonition() in src/mistune/directives/admonition.py concatenates the Admonition directive :class: option into the HTML class attribute without escaping, allowing attribute injection and cross-site scripting even when HTMLRenderer escape mode is enabled. This issue is fixed in version 3.2.1.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Mistune Project mistune
Weakness type
References
- github.com /lepture/mistune/commit/a3cb6e5655308797e8be021d6c7b5bab13c…
- github.com /lepture/mistune/releases/tag/v3.2.1
- github.com /lepture/mistune/security/advisories/GHSA-g97x-gvcm-x72h
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning