FrameLoader::open() Unloads Events Vulnerability
This vulnerability allows an attacker to execute arbitrary code in the context of the browser by exploiting the FrameLoader::open() function. The FrameLoader::open() function calls the clear() function which in turn calls the prepareForDestruction() function which fires unloads events. An attacker can use this vulnerability to execute arbitrary code in the context of the browser by creating an iframe and setting the onbeforeunload event handler. The attacker can then navigate the iframe to a malicious URL and use the XMLHttpRequest object to trigger the onabort event handler. The onabort event handler then calls the showModalDialog() function which can be used to execute arbitrary code in the context of the browser.