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

# CVE-2011-4591

Publication date 20 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 the print\_object function in
lib/datalib.php in Moodle 2.0.x before 2.0.6 and 2.1.x before 2.1.3, when a
developer debugging script is enabled, allows remote attackers to inject
arbitrary web script or HTML via vectors involving object states.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| moodle | 13.10 saucy | Not affected |
| 13.04 raring | Not affected |
| 12.10 quantal | Not affected |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Ignored end of life |
| 11.04 natty | Ignored end of life |
| 10.10 maverick | Ignored end of life |
| 10.04 LTS lucid | Ignored end of life |
| 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-2011-4591?format=md#patch-details)

### 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://moodle.org/mod/forum/discuss.php?d=191760> |

## References

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

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2011-4591>
