card css escape battery
Browse files- index.html +5 -18
index.html
CHANGED
|
@@ -1,22 +1,9 @@
|
|
| 1 |
<!doctype html><html><body>
|
| 2 |
<div class="card">
|
| 3 |
-
<h1>
|
| 4 |
-
<
|
| 5 |
-
<
|
| 6 |
-
<
|
| 7 |
-
<
|
| 8 |
-
<object data="https://evil.example/o"></object>
|
| 9 |
-
<embed src="https://evil.example/e">
|
| 10 |
-
<template><img src=x onerror="window.__tpl=1"></template>
|
| 11 |
-
<video poster="x" onerror="window.__vid=1"></video>
|
| 12 |
-
<input autofocus onfocus="window.__foc=1">
|
| 13 |
-
<select autofocus onfocus="window.__sel=1"><option>1</option></select>
|
| 14 |
-
<textarea autofocus onfocus="window.__ta=1"></textarea>
|
| 15 |
-
<svg><a xlink:href="javascript:window.__xlink=1"><text>t</text></a></svg>
|
| 16 |
-
<svg><use href="data:image/svg+xml,<svg id='x' xmlns='http://www.w3.org/2000/svg'><image href='1' onerror='window.__use=1'/></svg>#x"/></svg>
|
| 17 |
-
<math><annotation-xml encoding="text/html"><img src=x onerror="window.__ann=1"></annotation-xml></math>
|
| 18 |
-
<noscript><p title="</noscript><img src=x onerror=window.__nos=1>"></noscript>
|
| 19 |
-
<style>@import url("https://evil.example/imp.css"); .x{background:url(https://evil.example/bg)}</style>
|
| 20 |
-
<textarea title="</textarea><img src=x onerror=window.__txt=1>">z</textarea>
|
| 21 |
</div>
|
| 22 |
</body></html>
|
|
|
|
| 1 |
<!doctype html><html><body>
|
| 2 |
<div class="card">
|
| 3 |
+
<h1>CSSESC</h1>
|
| 4 |
+
<style>p{content:"\3c /style\3e\3c img src=x onerror=window.__css1=1\3e"}</style>
|
| 5 |
+
<style>p{content:'\3C\2Fstyle\3E\3Cscript\3Ewindow.__css2=1\3C\2Fscript\3E'}</style>
|
| 6 |
+
<style>p{content:"\00003c /style\00003e\00003c img src=x onerror=window.__css3=1\00003e"}</style>
|
| 7 |
+
<style>@media all{ p{ color:red } } /* \3c/style\3e */</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
</div>
|
| 9 |
</body></html>
|