summaryrefslogtreecommitdiff
path: root/tests/src/htmlxss.txt
blob: f6c43e353d2bed0ee4049e705b9aa407887e9bb1 (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="mailto:xss@somehost.net') && alert(document.cookie) || ignore('">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>