CVE-2021-4103
Cross-site Scripting (XSS) - Stored in vanessa219/vditor
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.
- Severity
- 6.8 MediumCVSS 3.0, CVE List
- Exploit chance
- 0.66%EPSS, 52nd percentile
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
3.8.11vditor
Description
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
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
vditornpm | before 3.8.11 | 3.8.11 |
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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L - CVSS 2.0
- 3.5 Low
AV: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 Medium
CVSS: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 Medium
CVSS: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
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.