{"id":"CVE-2011-4591","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"Cross-site scripting (XSS) vulnerability in the print_object function in lib/datalib.php in Moodle 2.0.x before 2.0.6 a…","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.","ai_summary":null,"severity":"medium","cvss":{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"NVD"},"scores":[{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd"}],"cwe":["CWE-79"],"remote":true,"remote_unauth":true,"epss":{"score":0.01812,"percentile":0.79152,"date":"2026-11-26"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://moodle.org/mod/forum/discuss.php?d=191760","kind":"vendor"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=761248","kind":"other"},{"url":"http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=187672608ec96659e07f2461b3b83634debd16cb","kind":"other"}],"workarounds":null,"vendors":["moodle"],"products":["moodle"],"cpes":["cpe:2.3:a:moodle:moodle:2.0.0:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.0.1:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.0.2:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.0.3:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.0.4:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.0.5:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.1.0:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.1.1:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:2.1.2:*:*:*:*:*:*:*"],"published_at":"2012-07-20T10:00:00.000Z","modified_at":"2026-06-16T23:35:06.243Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-4591"}],"links":{"html":"https://flawdb.com/CVE-2011-4591","markdown":"https://flawdb.com/CVE-2011-4591.md","json":"https://flawdb.com/api/v1/entries/CVE-2011-4591"}}