XSS

Payloads

Random

?returnUrl=javascript:alert(document.domain)

Angular

{{ 6 + 9 }}

Keywords

Main
location.search
location.hash
location.pathname
location.assign
location.replace
URLSearchParams


Angular
ng-app 
ng-bind
ng-model
ng-click
ng-change
ng-submit
ng-init
ng-style
ng-class

DOM XSS

Sinks snipped :

JQuery sinks :

Random

Different browsers

Browsers behave differently with regards to URL-encoding, Chrome, Firefox, and Safari will URL-encode location.search and location.hash, while IE11 and Microsoft Edge (pre-Chromium) will not URL-encode these sources.

Event handler

HTML Entity

WAF Bypass

Resources :

Last updated