CVE-2007-0996 Cross-site scripting in n/a

Medium 5.8 Published Updated

Remote attackers can execute cross-site scripting attacks in Mozilla Firefox and SeaMonkey by exploiting charset inheritance in child frames.

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-0996?

CVE-2007-0996 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 27 Feb 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

The child frames in Mozilla Firefox before 1.5.0.10 and 2.x before 2.0.0.2, and SeaMonkey before 1.0.8 inherit the default charset from the parent window, which allows remote attackers to conduct cross-site scripting (XSS) attacks, as demonstrated using the UTF-7 character set.

Which versions are affected by CVE-2007-0996?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Seamonkey.

How do I fix CVE-2007-0996?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2007-0996 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-8j8g-w6r8-wr7h.

Is CVE-2007-0996 in your software?

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

Check your SBOMs for free