- From: Adam Barth <whatwg@adambarth.com>
- Date: Thu, 28 May 2009 11:38:17 -0700
In Step 12 of http://www.whatwg.org/specs/web-apps/current-work/#dom-showmodaldialog, the auxiliary browsing context's return value is transfered from the auxiliary browsing context to whichever script called showModalDialog without regard for the origin of these two browsing contexts. In most situations, this will let the auxiliary browsing context XSS the caller of showModalDialog. Instead, we should perform the same origin checks and subsequent transformations that we perform on the dialog arguments in step 7. Adam
Received on Thursday, 28 May 2009 11:38:17 UTC