CyberRota Analysis
AI-GeneratedMistune, a Python Markdown parser, is vulnerable to attribute injection and cross-site scripting due to improper handling of the Admonition directive's class option in versions prior to 3.2.1. This flaw allows attackers to inject malicious scripts into rendered HTML, posing a security risk for web applications that utilize this library. Developers and organizations using Mistune should prioritize upgrading to version 3.2.1 or later to mitigate potential exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.
Related CVEs
Other vulnerabilities affecting the same vendor(s)