Moodle Cross-site Scripting vulnerability in the KSES text cleaning filter
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
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | moodle/moodle | < 1.8.13, >= 1.9.0, < 1.9.9 | 1.8.13, 1.9.9 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2010-2230
- https://github.com/moodle/moodle/commit/704c5dfed4f4531b6d74d19cfad573984e74885e
- https://bugzilla.redhat.com/show_bug.cgi?id=605809
- https://github.com/moodle/moodle
- https://web.archive.org/web/20100621005117/http://secunia.com/advisories/40248
- https://web.archive.org/web/20100711044720/http://secunia.com/advisories/40352
- http://cvs.moodle.org/moodle/lib/weblib.php?r1=1.812.2.114&r2=1.812.2.115
- http://cvs.moodle.org/moodle/lib/weblib.php?r1=1.970.2.171&r2=1.970.2.172
- http://docs.moodle.org/en/Moodle_1.8.13_release_notes
- http://docs.moodle.org/en/Moodle_1.9.9_release_notes
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043285.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043291.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-June/043340.html
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- http://moodle.org/mod/forum/discuss.php?d=152368
- http://tracker.moodle.org/browse/MDL-22042
- http://www.openwall.com/lists/oss-security/2010/06/21/2
- http://www.vupen.com/english/advisories/2010/1530
- http://www.vupen.com/english/advisories/2010/1571
- Weakness (CWE)
CWE-79- Platform
- Composer
- Package
moodle/moodle- Disclosed
- 13.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-3gm8-32vv-q8mp - CC BY 4.0
Vulnerability history: moodle/moodle
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 437
- First → latest
- 03.2021 02.2026
- Without a fix
- 10
- Exploited in attacks
- 0
Severity breakdown
- Critical 16
- High 68
- Medium 318
- Low 35
Disclosures per year
- 2021: 11
- 2022: 285
- 2023: 43
- 2024: 53
- 2025: 33
- 2026: 12
-
Moodle Cross-site Scripting vulnerability in the KSES text cleaning filter this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.