summaryrefslogtreecommitdiff
path: root/tests/src/htmlxss.txt
blob: 60ceb944e61de3d756422676b96c4f0d9048c8a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<body>

<p><img onLoad.="alert(document.cookie)" src="skins/default/images/roundcube_logo.png" /></p>

<p><a href="javascript:alert(document.cookie)">mail me!</a>
<a href="http://roundcube.net" target="_self">roundcube.net</a>
<a href="http://roundcube.net" \onmouseover="alert('XSS')">roundcube.net (2)</a>

</p>

<div>Brilliant!</div>

<table><tbody><tr><td background="javascript:alert('XSS')">BBBBBB</td></tr></tbody></table>

<p>
Have a nice Christmas time.<br />
Thomas
</p>

</body>
</html>