Detecting web message misconfigurations for cross-domain credential theft
Summary: PortSwigger researcher Gareth Heyes published a post on 9 November 2022 describing an update to Burp Suite's DOM Invader tool that inspects web message data and flags messages containing URL data sent to a different origin. The feature, built after reading Frans Rosén's post on exploiting OAuth flows, is enabled by turning on post message interception and clicking Detect cross-domain leaks, and it flags a test case where a URL with a GET parameter named secret set to supersecret is sent cross-domain.
Key Takeaway: Web messages never travel over the wire, so auditing them has meant manual JavaScript debugger breakpoints - and a URL token sent to the wrong origin can be lifted by embedding the page as an iframe with a message event listener.
Read the original at PortSwigger Research ↗
- Topics
- Vulnerabilities & Patching
- Related
- Attackers Exploit UnrealIRCd Flaw That Enables Server-Level Command Injection Cyber Risks · Nov 14, 2026U.S. CISA adds Check Point and UnrealIRCd flaws to its Known Exploited Vulnerabilities catalog Cyber Risks · Nov 14, 2026PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE Cyber Risks · Nov 13, 2026