What’s Vulnerable › Vulnerabilities
CVE-2012-4195
- Severity: medium (CVSS 4.3 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2012-10-29 · updated 2026-06-16
- Weakness: CWE-79
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.
Affected products
- Canonical Ubuntu Linux: 10.04, 11.04, 11.10, 12.04, 12.10
- Mozilla Firefox: before 10.0.10; before 16.0.2 — fixed in 10.0.10, 16.0.2
- Mozilla Seamonkey: before 2.13.2 — fixed in 2.13.2
- Mozilla Thunderbird: before 16.0.2 — fixed in 16.0.2
- Mozilla Thunderbird ESR: before 10.0.10 — fixed in 10.0.10
- Opensuse: 11.4, 12.1, 12.2
- RedHat Enterprise Linux Desktop: 5.0, 6.0
- RedHat Enterprise Linux Eus: 6.3
- RedHat Enterprise Linux Server: 5.0, 6.0
- RedHat Enterprise Linux Workstation: 5.0, 6.0
- SUSE Linux Enterprise Server 15 SP1: 10-sp4, 11-sp2
- SUSE Linux Enterprise Server: 10-sp4, 11-sp2
- SUSE Linux Enterprise Software Development Kit: 10-sp4, 11-sp2
How to fix
Upgrade to a fixed version: Mozilla Firefox 10.0.10, 16.0.2; Mozilla Seamonkey 2.13.2; Mozilla Thunderbird 16.0.2; Mozilla Thunderbird ESR 10.0.10. Check the vendor advisory for mitigations.
References
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00019.html
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00025.html
- http://rhn.redhat.com/errata/RHSA-2012-1407.html
- http://rhn.redhat.com/errata/RHSA-2012-1413.html
- http://secunia.com/advisories/51121
- http://secunia.com/advisories/51123
- http://secunia.com/advisories/51127
- http://secunia.com/advisories/51144
- http://secunia.com/advisories/51146
- http://secunia.com/advisories/51147
- http://secunia.com/advisories/51165
- http://secunia.com/advisories/55318
Get alerted when CVE-2012-4195 or the next vulnerability affects your stack