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
Cross-site Scripting (XSS)
Vulnerability Description
This affects the package markdown-it-highlightjs before 3.3.1. It is possible insert malicious JavaScript as a value of lang in the markdown-it-highlightjs Inline code highlighting feature. const markdownItHighlightjs = require("markdown-it-highlightjs"); const md = require('markdown-it'); const reuslt_xss = md() .use(markdownItHighlightjs, { inline: true }) .render('console.log(42){.">js}'); console.log(reuslt_xss);
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Vulnerability Type
N/A
Vulnerability Title
Valeriangalliat Markdown It Highlightjs 跨站脚本漏洞
Vulnerability Description
Valeriangalliat Markdown It Highlightjs是Valeriangalliat个人开发者的一个为Web页面Markdown提供高亮的Js代码库。 markdown-it-highlightjs 3.3.1之前版本存在跨站脚本漏洞,该漏洞源于可以在markdown-it-highlightjs内联代码突出显示功能中将恶意JavaScript作为lang的值插入。
CVSS Information
N/A
Vulnerability Type
N/A