Original description
The KSES text cleaning filter in lib/weblib.php in Moodle before 1.8.13 and 1.9.x before 1.9.9 does not properly handle vbscript URIs, which allows remote authenticated users to conduct cross-site scripting (XSS) attacks via HTML input.
Affected software
- Moodle = 1.7.3= 1.4.1= 1.6.2= 1.7.1= 1.8.6= 1.2.1 exact match
Details
- Published
- 2010-06-28
- Last modified
- 2026-06-16
- CVSS vector
AV:N/AC:L/Au:S/C:N/I:P/A:N- CWE
- CWE-79
- EPSS (30-day exploit probability)
- 2.23% (percentile 83)
References
- cve.org/CVE-2010-2230
- nvd.nist.gov/vuln/detail/CVE-2010-2230
- cvs.moodle.org/moodle/lib/weblib.php?r1=1.812.2.114&r2=1.812.2.115
- cvs.moodle.org/moodle/lib/weblib.php?r1=1.970.2.171&r2=1.970.2.172
- docs.moodle.org/en/Moodle_1.8.13_release_notes
- docs.moodle.org/en/Moodle_1.9.9_release_notes
- lists.fedoraproject.org/pipermail/package-announce/2010-June/043285.html
- lists.fedoraproject.org/pipermail/package-announce/2010-June/043291.html
- lists.fedoraproject.org/pipermail/package-announce/2010-June/043340.html
- lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- moodle.org/mod/forum/discuss.php?d=152368
- secunia.com/advisories/40248
- secunia.com/advisories/40352
- tracker.moodle.org/browse/MDL-22042
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.