NVD Vulnerability Detail
Search Exploit, PoC
CVE-2020-7773
Summary

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);

Publication Date Nov. 16, 2020, 9:15 p.m.
Registration Date Jan. 26, 2021, 12:01 p.m.
Last Update Nov. 21, 2024, 2:37 p.m.
CVSS3.1 : MEDIUM
スコア 6.1
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI)
影響の想定範囲(S) 変更あり
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
CVSS2.0 : MEDIUM
Score 4.3
Vector AV:N/AC:M/Au:N/C:N/I:P/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C) なし
完全性への影響(I)
可用性への影響(A) なし
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required はい
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:markdown-it-highlightjs_project:markdown-it-highlightjs:*:*:*:*:*:node.js:*:* 3.3.1
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
markdown-it-highlightjs パッケージにおけるクロスサイトスクリプティングの脆弱性
Title markdown-it-highlightjs パッケージにおけるクロスサイトスクリプティングの脆弱性
Summary

markdown-it-highlightjs パッケージには、クロスサイトスクリプティングの脆弱性が存在します。

Possible impacts 情報を取得される、および情報を改ざんされる可能性があります。
Solution

ベンダ情報および参考情報を参照して適切な対策を実施してください。

Publication Date Nov. 15, 2020, midnight
Registration Date June 17, 2021, 3:38 p.m.
Last Update June 17, 2021, 3:38 p.m.
Affected System
markdown-it-highlightjs project
markdown-it-highlightjs 3.3.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2021年06月17日]
  掲載
June 17, 2021, 3:38 p.m.