CVE-2021-4103
vditor Vulnerable to Cross-site Scripting in SVG events
5.4
MEDIUM
CVSS 3.1
EPSS 0.21%
Description
vditor does not filter user input in SVG events, leading to XSS ### PoC ```html </a> <svg><animate onbegin=alert(11) attributeName=x dur=1s> ```
How to fix CVE-2021-4103
To remediate CVE-2021-4103, upgrade the affected package to a fixed version below.
- npm/vditor—upgrade to 3.8.11 or later
Is CVE-2021-4103 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 3.8.11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |