CVE-2011-4591Moodle
Medium 4.3 No auth needed
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- —
- Auth required
- No
- Published
- Jul 20, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
What happens
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.
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | 2.0.0 |
| moodle | moodle | 2.0.1 |
| moodle | moodle | 2.0.2 |
| moodle | moodle | 2.0.3 |
| moodle | moodle | 2.0.4 |
| moodle | moodle | 2.0.5 |
| moodle | moodle | 2.1.0 |
| moodle | moodle | 2.1.1 |
| moodle | moodle | 2.1.2 |
Official sources
References
Links published by the sources. Open them with care.
- git.moodle.org
- moodle.org Vendor Advisory
- bugzilla.redhat.com