Every CVE Search/ Get API key

CVE-2021-4103

Cross-site Scripting (XSS) - Stored in vanessa219/vditor

6.8 MediumFix available

Cross-site Scripting (XSS) - Stored in GitHub repository vanessa219/vditor prior to 1.0.34.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
High
Availability
Low

Exploit likelihood

0.66%Unchanged since Jan 23, 2022
90%50%10%1%

What each source reports

CVE List Score used 6.8

Cross-site Scripting (XSS) - Stored in vanessa219/vditor

Cross-site Scripting (XSS) - Stored in GitHub repository vanessa219/vditor prior to 1.0.34.

Record
CVE-2021-4103
CVSS 3.0
6.8 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2022-0572 6.8

Cross-site Scripting (XSS) - Stored in GitHub repository vanessa219/vditor prior to 1.0.34.

Record
EUVD-2022-0572
CVSS 3.0
6.8 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
Updated
2026-11-03
GitHub AdvisoriesGHSA-cxm3-v4mv-6mh8 5.4

vditor Vulnerable to Cross-site Scripting in SVG events

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

PoC

</a>
<svg><animate onbegin=alert(11) attributeName=x dur=1s>
Record
GHSA-cxm3-v4mv-6mh8
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
NVD 5.4

Cross-site Scripting (XSS) - Stored in GitHub repository vanessa219/vditor prior to 1.0.34.

Record
CVE-2021-4103
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS 3.0
6.8 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
CVSS 2.0
3.5 LowAV:N/AC:M/Au:S/C:N/I:P/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 5.4

Cross-site Scripting (XSS) - Stored in GitHub repository vanessa219/vditor prior to 1.0.34.

Record
CVE-2021-4103
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVGHSA-cxm3-v4mv-6mh8 5.4

vditor Vulnerable to Cross-site Scripting in SVG events

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

PoC

</a>
<svg><animate onbegin=alert(11) attributeName=x dur=1s>
Record
GHSA-cxm3-v4mv-6mh8
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
vditor
npm
before 3.8.11
3.8.11

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-4103 is a medium vulnerability (CVSS 6.8) in B3log Vditor, published January 23, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.66%, the 52nd percentile. Fixed in vditor 3.8.11.

References

MoveEnter Open