---
title: "CVE-2012-4195\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2012-4195?format=md
keywords: index, follow
---

# CVE-2012-4195

Publication date 26 October 2012

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2012-4195?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| firefox | 13.10 saucy | Fixed 17.0~b1+build1-0ubuntu1 |
| 13.04 raring | Fixed 17.0~b1+build1-0ubuntu1 |
| 12.10 quantal | Fixed 16.0.2+build1-0ubuntu0.12.10.1 |
| 12.04 LTS precise | Fixed 16.0.2+build1-0ubuntu0.12.04.1 |
| 11.10 oneiric | Fixed 16.0.2+build1-0ubuntu0.11.10.1 |
| 11.04 natty | Fixed 16.0.2+build1-0ubuntu0.11.04.1 |
| 10.04 LTS lucid | Fixed 16.0.2+build1-0ubuntu0.10.04.1 |
| 8.04 LTS hardy | Ignored end of life |
| seamonkey | 13.10 saucy | Not in release |
| 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Ignored end of life |
| 11.04 natty | Ignored end of life |
| 10.04 LTS lucid | Ignored end of life |
| 8.04 LTS hardy | Ignored end of life |
| thunderbird | 13.10 saucy | Fixed 17.0~b3+build1-0ubuntu1 |
| 13.04 raring | Fixed 17.0~b3+build1-0ubuntu1 |
| 12.10 quantal | Fixed 16.0.2+build1-0ubuntu0.12.10.1 |
| 12.04 LTS precise | Fixed 16.0.2+build1-0ubuntu0.12.04.1 |
| 11.10 oneiric | Fixed 16.0.2+build1-0ubuntu0.11.10.1 |
| 11.04 natty | Ignored end of life |
| 10.04 LTS lucid | Fixed 16.0.2+build1-0ubuntu0.10.04.1 |
| 8.04 LTS hardy | Ignored end of life |
| xulrunner-1.9.2 | 13.10 saucy | Not in release |
| 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Ignored |
| 10.04 LTS lucid | Ignored end of life |
| 8.04 LTS hardy | Ignored end of life |
| xulrunner-2.0 | 13.10 saucy | Not in release |
| 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Ignored end of life |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [jdstrand](https://launchpad.net/~jdstrand)

xulrunner-1.9.2 unmaintained upstream (see README.mozilla for
details)

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4195)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2012-4195)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2012-4195)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2012-4195)

### Related Ubuntu Security Notices (USN)

+ [USN-1620-1](https://usn.ubuntu.com/USN-1620-1)
+ Firefox vulnerabilities
+ 26 October 2012

+ [USN-1620-2](https://usn.ubuntu.com/USN-1620-2)
+ Thunderbird vulnerabilities
+ 30 October 2012

### Other references

* <http://www.mozilla.org/security/announce/2012/mfsa2012-90.html>
* <https://www.cve.org/CVERecord?id=CVE-2012-4195>
