漏洞标题
基于剪切板的安全DOM-XSS
漏洞描述信息
基于剪贴板的DOM-XSS
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
漏洞类别
N/A
漏洞标题
Clipboard-based DOM-XSS
漏洞描述信息
@github/paste-markdown is an npm package for pasting markdown objects. A self Cross-Site Scripting vulnerability exists in the @github/paste-markdown before version 0.3.4. If the clipboard data contains the string `<table>`, a **div** is dynamically created, and the clipboard content is copied into its **innerHTML** property without any sanitization, resulting in improper execution of JavaScript in the browser of the victim (the user who pasted the code). Users directed to copy text from a malicious website and paste it into pages that utilize this library are affected. This is fixed in version 0.3.4. Refer the to the referenced GitHub Advisory for more details including an example exploit.
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
漏洞类别
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
漏洞标题
paste-markdown 跨站脚本漏洞
漏洞描述信息
paste-markdown是粘贴 Markdown 对象。 paste-markdown 0.3.4之前版本存在跨站脚本漏洞,该漏洞源于如果剪贴板数据包含字符串`<table>`,则动态创建一个**div**,并将剪贴板内容复制到其 **innerHTML** 属性中而没有进行任何清理,从而导致浏览器中的 JavaScript 执行不当。
CVSS信息
N/A
漏洞类别
跨站脚本