CVE-2007-5338 Code injection in n/a

Critical 9.3 Published Updated

Remote attackers can execute arbitrary JavaScript with user privileges by manipulating XPCNativeWrappers, requiring user interaction to trigger chrome actions.

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-2007-5338?

CVE-2007-5338 is a critical code injection vulnerability in Mozilla Firefox, published on 21 Oct 2007. 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

Mozilla Firefox before 2.0.0.8 and SeaMonkey before 1.1.5 allow remote attackers to execute arbitrary Javascript with user privileges by using the Script object to modify XPCNativeWrappers in a way that causes the script to be executed when a chrome action is performed.

Weakness: CWE-264, CWE-16

Which versions are affected by CVE-2007-5338?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Seamonkey.

How do I fix CVE-2007-5338?

Upgrade to a fixed version.

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

Is CVE-2007-5338 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-5q38-h7gf-fmjx.

Is CVE-2007-5338 in your software?

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

Check your SBOMs for free