Live threats
VulnFox

All CVEs / Moodle

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
moodlemoodle2.0.0
moodlemoodle2.0.1
moodlemoodle2.0.2
moodlemoodle2.0.3
moodlemoodle2.0.4
moodlemoodle2.0.5
moodlemoodle2.1.0
moodlemoodle2.1.1
moodlemoodle2.1.2

Official sources

References

Links published by the sources. Open them with care.