CVE-2012-1956 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can execute cross-site scripting attacks in Firefox, Thunderbird, and SeaMonkey by shadowing the location object via plugins.

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-2012-1956?

CVE-2012-1956 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 29 Aug 2012. 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 15.0, Thunderbird before 15.0, and SeaMonkey before 2.12 do not prevent use of the Object.defineProperty method to shadow the location object (aka window.location), which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks via vectors involving a plugin.

Weakness: CWE-79

Which versions are affected by CVE-2012-1956?

It affects 3 products.

Products include Mozilla Firefox, Mozilla Seamonkey, Mozilla Thunderbird.

How do I fix CVE-2012-1956?

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-2012-1956 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-8449-cw6v-fqcw.

Is CVE-2012-1956 in your software?

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

Check your SBOMs for free