In-depth lesson · DOM-based XSS
Reports behind this point
Test redirect and return URL parameters carefully. These are common sources that flow into location assignment or HTML building. Check whether a javascript scheme or HTML is accepted, and whether the value is used in a client-side fetch or link attribute.