CVE-2011-4591: XSS

Published Jul 20, 2012
·
Updated

Cross-site scripting (XSS) vulnerability in the printobject 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.

Affected Software

9 affected components
Moodle moodle=2.0.2
Moodle moodle=2.0.1
Moodle moodle=2.0.4
Moodle moodle=2.0.3
Moodle moodle=2.0.5
Moodle moodle=2.0.0
Moodle moodle=2.1.2
Moodle moodle=2.1.1
Moodle moodle=2.1.0

Event History

Jul 20, 2012
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2011-4591?

CVE-2011-4591 is classified as a moderate severity vulnerability due to its potential to allow cross-site scripting attacks.

2

How do I fix CVE-2011-4591?

To fix CVE-2011-4591, upgrade Moodle to version 2.0.6 or later and 2.1.3 or later.

3

What software versions are affected by CVE-2011-4591?

CVE-2011-4591 affects Moodle versions 2.0.0 through 2.0.5 and 2.1.0 through 2.1.2.

4

What type of attack does CVE-2011-4591 enable?

CVE-2011-4591 enables attackers to perform cross-site scripting (XSS) attacks by injecting malicious scripts.

5

Is enabling developer debugging script safe regarding CVE-2011-4591?

Enabling developer debugging scripts can expose your application to CVE-2011-4591, thus it is recommended to disable it.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203