---
title: "CVE-2012-2698\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-2698?format=md
keywords: index, follow
---

# CVE-2012-2698

Publication date 29 June 2012

Last updated 24 July 2024

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

Cross-site scripting (XSS) vulnerability in the outputPage function in
includes/SkinTemplate.php in MediaWiki before 1.17.5, 1.18.x before 1.18.4,
and 1.19.x before 1.19.1 allows remote attackers to inject arbitrary web
script or HTML via the uselang parameter to index.php/Main\_page.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| mediawiki | 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2012-2698?format=md#patch-details)

## Notes

---

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

per Debian, introduced in r49331 (after 1.15)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| mediawiki | * Other:   <https://gerrit.wikimedia.org/r/#/c/7979/> |

## References

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

### Other references

* <https://bugzilla.wikimedia.org/show_bug.cgi?id=36938>
* <https://www.cve.org/CVERecord?id=CVE-2012-2698>
