Vitaly Puzrin
10 years ago
5 changed files with 53 additions and 3 deletions
@ -0,0 +1,6 @@ |
|||||
|
. |
||||
|
![xss link](javascript:alert(1)) |
||||
|
. |
||||
|
<p>![xss link](javascript:alert(1))</p> |
||||
|
. |
||||
|
|
@ -0,0 +1,31 @@ |
|||||
|
Should not allow some protocols in links and images |
||||
|
|
||||
|
. |
||||
|
[xss link](javascript:alert(1)) |
||||
|
. |
||||
|
<p>[xss link](javascript:alert(1))</p> |
||||
|
. |
||||
|
|
||||
|
. |
||||
|
[xss link](JAVASCRIPT:alert(1)) |
||||
|
. |
||||
|
<p>[xss link](JAVASCRIPT:alert(1))</p> |
||||
|
. |
||||
|
|
||||
|
. |
||||
|
[xss link](vbscript:alert(1)) |
||||
|
. |
||||
|
<p>[xss link](vbscript:alert(1))</p> |
||||
|
. |
||||
|
|
||||
|
. |
||||
|
[xss link](VBSCRIPT:alert(1)) |
||||
|
. |
||||
|
<p>[xss link](VBSCRIPT:alert(1))</p> |
||||
|
. |
||||
|
|
||||
|
. |
||||
|
[xss link]("><script>alert("xss")</script>) |
||||
|
. |
||||
|
<p><a href="&#34;&#62;&#60;script&#62;alert&#40;&#34;xss&#34;&#41;&#60;/script&#62;">xss link</a></p> |
||||
|
. |
Loading…
Reference in new issue