VulnerabilityCVE-2026-44896GHSA-58cw-g322-p94v
Mistune: XSS via unescaped figclass/figwidth in Figure directive
Not on CISA KEVCVSS 5.3 (v4.0)
Summary
Mistune is a Python Markdown parser with renderers and plugins. In 3.2.0 and earlier, in src/mistune/directives/image.py, the render_figure() function concatenates figclass and figwidth options directly into HTML attributes without escaping. This allows attribute injection and XSS even when
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- CVE List Source: CVE Program (cve.org)
- GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)