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

# CVE-2012-2365

Publication date 21 July 2012

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

Cross-site scripting (XSS) vulnerability in Moodle 2.0.x before 2.0.9,
2.1.x before 2.1.6, and 2.2.x before 2.2.3 allows remote authenticated
users to inject arbitrary web script or HTML via the idnumber field to
cohort/edit.php.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| moodle | 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Not affected |
| 17.10 artful | Ignored end of life |
| 17.04 zesty | Ignored end of life |
| 16.10 yakkety | Ignored end of life |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Ignored end of life |
| 15.04 vivid | Ignored end of life |
| 14.10 utopic | Ignored end of life |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Ignored end of life |
| 13.04 raring | Ignored end of life |
| 12.10 quantal | Ignored end of life |
| 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 | Ignored end of life |

---

* [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-2365?format=md#patch-details)

## Notes

---

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

moodle 2.0 and higher

### 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 |
| --- | --- |
| moodle | * Other:   <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-31691> |

## References

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

### Other references

* <http://www.openwall.com/lists/oss-security/2012/05/23/2>
* <https://www.cve.org/CVERecord?id=CVE-2012-2365>
