Created
March 8, 2011 18:23
-
-
Save eoneill/860702 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
<h2>Testing Character Encoding</h2> | |
<h3>This profile uses the rich text editor</h3> | |
<p><script type="IN/FullMemberProfile" data-id="OqbPFlcDV1" data-firstName="Carole" data-lastName="Bouquet"></script></p> | |
<h3>This profile uses plain text input</h3> | |
<p><script type="IN/FullMemberProfile" data-id="Xu9e7PgP9l" data-firstName="FIRSTA" data-lastName="LAST0"></script></p> | |
<h3>These are the attack vectors tested</h3> | |
<div style="border:1px solid; padding:10px;"> | |
<code> | |
<script>alert(1)</script> | |
<br/><br/> | |
';alert(String.fromCharCode(88,83,83))//\';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//\";alert(String.fromCharCode(88,83,83))//--></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT> | |
<br/><br/> | |
'';!--"<XSS>=&{()} | |
<br/><br/> | |
a="get";<br/> | |
b="URL(\"";<br/> | |
c="javascript:";<br/> | |
d="alert('XSS');\")";<br/> | |
eval(a+b+c+d); | |
</code> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment