Skip to content

Instantly share code, notes, and snippets.

@courtenay
Created April 28, 2014 15:55
Show Gist options
  • Save courtenay/11376226 to your computer and use it in GitHub Desktop.
Save courtenay/11376226 to your computer and use it in GitHub Desktop.
xss wtf
<!DOCTYPE html>
<html lang="en">
<body>
<script type="text/javascript">
var foo = 'asdfkajhsdf as</script><script>alert("xss1")</script>';
var bar = "asdfasdf </script><script>alert('xss2')</script>";
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment