Skip to content

In-depth lesson · DOM-based XSS

Reports behind this point

Start with the obvious sources: URL fragments, query parameters, redirect and return URL parameters, search boxes and error pages. Test whether values you control are reflected into the page and whether they reach a sink such as innerHTML. Reports show these are common places for DOM-based XSS.