Download Firefox

Firefox is no longer supported on Windows 8.1 and below.

Please download Firefox ESR (Extended Support Release) to use Firefox.

Firefox is no longer supported on macOS 10.14 and below.

Please download Firefox ESR (Extended Support Release) to use Firefox.

Firefox Privacy Notice

Mozilla Foundation Security Advisory 2006-21

JavaScript execution in mail when forwarding in-line

Announced
April 21, 2006
Reporter
Georgi Guninski
Impact
Critical
Products
Mozilla Suite, SeaMonkey, Thunderbird
Fixed in
  • Mozilla Suite 1.7.13
  • SeaMonkey 1.0.1
  • Thunderbird 1.0.8
  • Thunderbird 1.5.0.2

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