NVD Vulnerability Detail
Search Exploit, PoC
CVE-2021-21383
Summary

Wiki.js an open-source wiki app built on Node.js. Wiki.js before version 2.5.191 is vulnerable to stored cross-site scripting through mustache expressions in code blocks. This vulnerability exists due to mustache expressions being parsed by Vue during content injection even though it is contained within a `<pre>` element. By creating a crafted wiki page, a malicious Wiki.js user may stage a stored cross-site scripting attack. This allows the attacker to execute malicious JavaScript when the page is viewed by other users. For an example see referenced GitHub Security Advisory. Commit 5ffa189383dd716f12b56b8cae2ba0d075996cf1 fixes this vulnerability by adding the v-pre directive to all `<pre>` tags during the render.

Publication Date March 19, 2021, 2:15 a.m.
Registration Date March 19, 2021, 10:02 a.m.
Last Update Nov. 21, 2024, 2:48 p.m.
CVSS3.1 : MEDIUM
スコア 5.4
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI)
影響の想定範囲(S) 変更あり
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
CVSS2.0 : LOW
Score 3.5
Vector AV:N/AC:M/Au:S/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:requarks:wiki.js:*:*:*:*:*:*:*:* 2.5.191
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Wiki.js におけるクロスサイトスクリプティングの脆弱性
Title Wiki.js におけるクロスサイトスクリプティングの脆弱性
Summary

Wiki.js には、クロスサイトスクリプティングの脆弱性が存在します。

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

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 12, 2021, midnight
Registration Date Dec. 28, 2021, 3:28 p.m.
Last Update Dec. 28, 2021, 3:28 p.m.
Affected System
requarks
Wiki.js 2.5.191 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2021年12月28日]
  掲載
Dec. 28, 2021, 3:28 p.m.