You are currently viewing a snapshot of taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to, please file a bug.

You are here: Known Vulnerabilities in Mozilla Products (Firefox 1.5) > MFSA 2006-09

Mozilla Foundation Security Advisory 2006-09

Title: Cross-site JavaScript injection using event handlers
Impact: High
Date: April 13, 2006
Reporter: shutdown
Products: Firefox, Thunderbird, Mozilla Suite

Fixed in: Firefox 1.5
  Firefox 1.0.8
  Thunderbird 1.5
  Thunderbird 1.0.8
  Mozilla Suite 1.7.13
  SeaMonkey 1.0


shutdown reported a method of injecting running JavaScript code into a page on another site using a modal alert to suspend an event handler while a new page is being loaded. This vulnerability allows an attacker to steal any confidential information the new page might contain, including any passwords and cookies which might allow the attacker to log on to that site as the victim.

shutdown also reported a variant using the two-argument form of eval() that did not require a modal dialog and would be much less obtrusive. moz_bug_r_a4 reported two variants that bypassed our initial fixes, one using "new Script()", the other extending the eval() attack using window.__proto__

Thunderbird shares the browser engine with Firefox and could be vulnerable if JavaScript were to be enabled in mail. This is not the default setting and we strongly discourage users from running JavaScript in mail.


Disable JavaScript until you can upgrade to a fixed version.


Exploit code and details embargoed during the active update period.

Original vulnerability:

Firefox 1.5 fix:

Alternate fix for Firefox 1.0.8/Mozilla Suite 1.7.13: