-
-
Save Kuri-su/78ecad07f625b69f25356842b406d438 to your computer and use it in GitHub Desktop.
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
![](x"/**/onerror="alert('xss!!!')") | |
github是采用存入的时候,对特殊符号进行转义,从而无效掉 | |
e.g. | |
<p><a href="/Kuri-su/Some-classic-algorithms/blob/master/x%22/**/onerror=%22alert('xss!!!')%22" target="_blank"><img src="/Kuri-su/Some-classic-algorithms/raw/master/x%22/**/onerror=%22alert('xss!!!')%22" alt="sdsdssdsd" style="max-width:100%;"></a></p> | |
也可以采用markdown转成html后去掉全部的onxxxxxx的方法,例如onload,onerror |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment