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

Medium 4.3 Published Updated

Remote attackers can execute arbitrary JavaScript or conduct XSS attacks via crafted websites due to improper URL checking 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-2012-4195?

CVE-2012-4195 is a medium-severity cross-site scripting vulnerability in Canonical Ubuntu Linux, published on 29 Oct 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

The nsLocation::CheckURL function in Mozilla Firefox before 16.0.2, Firefox ESR 10.x before 10.0.10, Thunderbird before 16.0.2, Thunderbird ESR 10.x before 10.0.10, and SeaMonkey before 2.13.2 does not properly determine the calling document and principal in its return value, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks via a crafted web site, and makes it easier for remote attackers to execute arbitrary JavaScript code by leveraging certain add-on behavior.

Weakness: CWE-79

Which versions are affected by CVE-2012-4195?

It affects 13 products.

Products include Canonical Ubuntu Linux, Mozilla Firefox, Mozilla Seamonkey, Mozilla Thunderbird, Mozilla Thunderbird Esr, Opensuse Opensuse and 7 more.

How do I fix CVE-2012-4195?

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-4195 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-44cp-4449-xfm3.

Is CVE-2012-4195 in your software?

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

Check your SBOMs for free