Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Mistune: XSS via unescaped figclass/figwidth in Figure directive
Vulnerability 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.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
mistune 跨站脚本漏洞
Vulnerability Description
mistune是Hsiaoming Yang个人开发者的一个快速而强大的 Python Markdown 解析器。 mistune 3.2.0及之前版本存在跨站脚本漏洞,该漏洞源于在src/mistune/directives/image.py中,render_figure()函数将figclass和figwidth选项直接拼接至HTML属性而未进行转义,即使HTMLRenderer(escape=True)启用时也可导致属性注入和跨站脚本攻击。
CVSS Information
N/A
Vulnerability Type
N/A