Origin policy enforcement in modern browsers
summary
Same Origin Policy is inconsistent across vendors, implemented as a fragile blacklist, and yields dozens of real bypasses caused by parsing mismatches (UTF‑16 vs zero‑terminated C strings, username@host URL quirks, jar/zip handlers, Flash/Java integrations). One Java-based bypass works across every browser tested. I frame-bust a Firefox iframe sandbox escape that is being patched. Adoption of mitigations is uneven: content security policy exists but >96% of top 25k sites use inline JS, and Java runs in ~70% of browsers while only 0.2% of sites need it.
AI-written summary · about
