In-depth lesson · DOM-based XSS
Reports behind this point
Look at postMessage handlers. Check whether the listener verifies the sender's origin with an exact match and whether message data is written into the DOM or used as a URL. Prefix and substring checks are bypassable, and missing origin checks are a direct route to execution.