Advisory

GHSA-cxm3-v4mv-6mh8

Also known as: CVE-2021-4103

Summary

vditor Vulnerable to Cross-site Scripting in SVG events

Details

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

PoC

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-01-28 22:04 UTC
Modified
2023-11-08 04:06 UTC

Affected packages and fixes

vditor

npm · All systems

Affected

  • introduced 0, fixed 3.8.11 (semver)

Fixed versions

3.8.11

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences