Escalating subdomain takeover to steal sensitive stuff
A dangling subdomain could be taken over by an attacker, and because the parent domain's pages relied on document.domain for trust, the hijacked subdomain could read data and bypass protections meant to be limited to sibling subdomains. This let an attacker steal cookies and other sensitive data and bypass X-Frame-Options, CORS checks and URL validation.
Postmates