Skip to content

Instantly share code, notes, and snippets.

@yehgdotnet
Last active March 3, 2018 08:21
Show Gist options
  • Save yehgdotnet/d88ec5cc3410503bce33aee00f290529 to your computer and use it in GitHub Desktop.
Save yehgdotnet/d88ec5cc3410503bce33aee00f290529 to your computer and use it in GitHub Desktop.
DOM XSSed page
<html>
<head>
<title>DOM XSS vulnerable page</title>
</head>
<body>
<script>
var l = decodeURI(document.location.toLocaleString().split("?")[1]);
document.write(l);
</script>
<p></p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment