You are here: Known Vulnerabilities in Mozilla Products (Thunderbird 1.5.0.2) > MFSA 2006-21

Mozilla Foundation Security Advisory 2006-21

Title: JavaScript execution in mail when forwarding in-line
Impact: Critical
Announced: April 21, 2006
Reporter: Georgi Guninski
Products: Firefox, Mozilla Suite

Fixed in: Thunderbird 1.5.0.2
  Thunderbird 1.0.8
  SeaMonkey 1.0.1
  Mozilla Suite 1.7.13

Description

Georgi Guninski reports that forwarding mail in-line while using the default HTML "rich mail" editor will execute JavaScript embedded in the e-mail message. Forwarding mail in-line is not the default setting but it is easily accessed through the "Forward As" menu item.

This JavaScript runs with the full privileges of the client and could be used to install malware or send spam.

In Thunderbird 1.0.7 and below and Mozilla Suite 1.7.12 and below JavaScript is also executed when you reply to a mail, though limited to the sandbox of the message. This script could spy on or alter the message you are composing.

Workaround

Switch to "plain text" mail composition, this vulnerability only affects HTML mail composition (the default). On the "Composition and Addressing" tab of Thunderbird's Account Settings dialog uncheck the "Compose messages in HTML format" option to compose messages in plain text.

References

https://bugzilla.mozilla.org/show_bug.cgi?id=319858
CVE-2006-0884