漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Milkdown < 7.21.3 Stored XSS via javascript: URL in link href
Vulnerability Description
Milkdown before 7.21.3 contains a stored cross-site scripting vulnerability in the @milkdown/preset-commonmark and @milkdown/components packages that allows attackers with document write access to execute arbitrary JavaScript in the browser context of any user who opens the document or clicks a rendered link. The parseMarkdown runner stores raw URL values from the remark AST as href mark attributes without URL scheme validation, and the ineffective DOMPurify.sanitize call in edit-view.ts treats the bare URL string as a text node and returns it unchanged, allowing javascript: payloads to pass through the link-tooltip preview component and read-only mode anchor elements unmodified.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
Milkdown 跨站脚本漏洞
Vulnerability Description
Milkdown milkdown是Milkdown组织的一个基于Markdown的富文本编辑器。 Milkdown 7.21.3之前版本存在跨站脚本漏洞,该漏洞源于parseMarkdown runner未对URL进行方案验证,且DOMPurify.sanitize调用无效,导致javascript:有效载荷通过,造成存储型跨站脚本攻击,攻击者可执行任意JavaScript。
CVSS Information
N/A
Vulnerability Type
N/A