DOM Based
Payloads
Scripts
Test execution
Injection vectors
document
Allows execution of <script> blocks
element
Prevents execution of <script> and SVG blocks use onload/onerror JS calls to run code
Dynamic href
Anchors whose links are controlled by params read by JS scripts can be hijacked
$(...) with hashchange event
AngularJS ng-app
Last updated