{"id":"CVE-2011-4306","aliases":["GHSA-r729-mx2r-j26j"],"kind":"cve","tier":"cold","status":"published","title":"Moodle XSS Vulnerability","description":"Cross-site scripting (XSS) vulnerability in course/editsection.html in Moodle 1.9.x before 1.9.14 allows remote authenticated users to inject arbitrary web script or HTML via crafted data.","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.79186,"date":"2026-11-29"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","affected":"< 1.9.14","fixed":["1.9.14"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade moodle/moodle to 1.9.14 or later.","technologies":[],"references":[{"url":"http://moodle.org/mod/forum/discuss.php?d=188319","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-4306","kind":"vendor"},{"url":"https://github.com/moodle/moodle/commit/4a2acd8c7e6c869d5fd5aa686e6e0a3f20c97f15","kind":"patch"},{"url":"http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=4a2acd8c7e6c869d5fd5aa686e6e0a3f20c97f15","kind":"other"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=747444","kind":"other"},{"url":"http://git.moodle.org/gw?p=moodle.git;a=commit;h=4a2acd8c7e6c869d5fd5aa686e6e0a3f20c97f15","kind":"other"}],"workarounds":null,"vendors":["moodle"],"products":["moodle"],"cpes":["cpe:2.3:a:moodle:moodle:1.9.10:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:1.9.11:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:1.9.12:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:1.9.13:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:1.9.1:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:1.9.2:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:1.9.3:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:1.9.4:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:1.9.5:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:1.9.6:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:1.9.7:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:1.9.8:*:*:*:*:*:*:*","cpe:2.3:a:moodle:moodle:1.9.9:*:*:*:*:*:*:*"],"published_at":"2012-07-11T10:00:00.000Z","modified_at":"2026-06-16T23:34:44.403Z","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-4306"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-r729-mx2r-j26j","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2011-4306","markdown":"https://flawdb.com/CVE-2011-4306.md","json":"https://flawdb.com/api/v1/entries/CVE-2011-4306"}}