Skip to content
XSS Disclosed report CVE-2021-4103

vditor Vulnerable to Cross-site Scripting in SVG events

vanessa219/vditor

Originally disclosed on huntr

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

PoC

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

From the GitHub Advisory Database (GHSA-cxm3-v4mv-6mh8, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A medium-severity XSS bug in vditor. huntr made it public on 28 January 2022 as CVE-2021-4103. Fixed in version 3.8.11.

About XSS

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from vanessa219/vditor

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.