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.
0.6-20.7.1-10.7.4-10.8-10.8.1-10.8.3-20.8.4-10.8.4-23.0.2-23.1.3-1Exploitability
AV:NAC:LAT:NPR:NUI:PVulnerable System
VC:LVI:LVA:NSubsequent System
SC:LSI:LSA:NCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N