漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Mistune Heading ID Attribute Injection XSS
Vulnerability Description
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, HTMLRenderer.heading() builds the opening <hN> tag by string-concatenating the id attribute value directly into the HTML — with no call to escape(), safe_entity(), or any other sanitisation function. A double-quote character " in the id value terminates the attribute, allowing an attacker to inject arbitrary additional attributes (event handlers, src=, href=, etc.) into the heading element. This vulnerability is fixed in 3.2.1.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
mistune 跨站脚本漏洞
Vulnerability Description
mistune是Hsiaoming Yang个人开发者的一个快速而强大的 Python Markdown 解析器。 Mistune 3.2.1之前版本存在跨站脚本漏洞,该漏洞源于HTMLRenderer.heading()通过字符串拼接将id属性值直接插入HTML标签而未进行转义,攻击者可通过id值中的双引号终止属性,注入任意额外属性。
CVSS Information
N/A
Vulnerability Type
N/A