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
beautiful-mermaid < 0.1.3 SVG Attribute Injection
Vulnerability Description
beautiful-mermaid versions prior to 0.1.3 contain an SVG attribute injection issue that can lead to cross-site scripting (XSS) when rendering attacker-controlled Mermaid diagrams. User-controlled values from Mermaid style and classDef directives are interpolated into SVG attribute values without proper escaping, allowing crafted input to break out of an attribute context and inject arbitrary SVG elements/attributes into the rendered output. When the generated SVG is embedded in a web page, this can result in script execution in the context of the embedding origin.
CVSS Information
N/A
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
beautiful-mermaid 跨站脚本漏洞
Vulnerability Description
beautiful-mermaid是Craft Docs开源的一个可视化人工智能助手数据流的工具。 beautiful-mermaid 0.1.3之前版本存在跨站脚本漏洞,该漏洞源于SVG属性注入问题,可能导致渲染攻击者控制的Mermaid图表时发生跨站脚本攻击。
CVSS Information
N/A
Vulnerability Type
N/A