DOM Based
Payloads
Scripts
alert(1)
alert(window.location.href)
alert(document.domain)
console.log("pwned")
print()Injection vectors
document
document.write()
document.writeln()
document.domain"><svg onload="...">
"><script>...</script>element
Dynamic href
$(...) with hashchange event
AngularJS ng-app
Last updated