Affected versions
Ubuntu16.04:LTS/mistune
- Affected versions
- * || =0.6-2 || =0.7.1-1
- Fixed version
- Not reported
Ubuntu18.04:LTS/mistune
- Affected versions
- * || =0.7.4-1 || =0.8-1 || =0.8.1-1 || =0.8.3-2
- Fixed version
- Not reported
Ubuntu20.04:LTS/mistune
- Affected versions
- * || =0.8.4-1 || =0.8.4-2
- Fixed version
- Not reported
Ubuntu24.04:LTS/mistune
- Affected versions
- * || =2.0.4-2 || =3.0.2-1
- Fixed version
- Not reported
Ubuntu25.10/mistune0
- Affected versions
- * || =0.8.4-4
- Fixed version
- Not reported
Ubuntu25.10/mistune
- Affected versions
- * || =3.0.2-2 || =3.1.3-1
- Fixed version
- Not reported
Ubuntu26.04:LTS/mistune
- Affected versions
- * || =3.1.3-1 || =3.1.4-1
- Fixed version
- Not reported
Ubuntu26.10/mistune0
- Affected versions
- * || =0.8.4-6
- Fixed version
- Not reported
Ubuntu26.10/mistune
- Affected versions
- * || =3.1.4-1
- Fixed version
- Not reported
Description
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 HTMLRenderer(escape=True) is used, because these values bypass the inline renderer. Version 3.2.1 contains a patch.

