CVE-2009-1838 Code injection in n/a

Critical 9.3 Published Updated

Remote attackers can execute arbitrary JavaScript with chrome privileges via a crafted event handler due to a garbage-collection flaw in Mozilla browsers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2009-1838?

CVE-2009-1838 is a critical code injection vulnerability in Mozilla Firefox, published on 12 Jun 2009. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The garbage-collection implementation in Mozilla Firefox before 3.0.11, Thunderbird before 2.0.0.22, and SeaMonkey before 1.1.17 sets an element's owner document to null in unspecified circumstances, which allows remote attackers to execute arbitrary JavaScript with chrome privileges via a crafted event handler, related to an incorrect context for this event handler.

Weakness: CWE-94

Which versions are affected by CVE-2009-1838?

It affects 3 products.

Products include Mozilla Firefox, Mozilla Seamonkey, Mozilla Thunderbird.

How do I fix CVE-2009-1838?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2009-1838 being exploited?

There is no known exploitation of CVE-2009-1838 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-p6f8-2h8r-5246.

Is CVE-2009-1838 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free