Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2010-2230

CVE-2010-2230: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

May 13, 2022 (updated February 7, 2024)

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.

References

  • 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
  • tracker.moodle.org/browse/MDL-22042
  • www.openwall.com/lists/oss-security/2010/06/21/2
  • www.vupen.com/english/advisories/2010/1530
  • www.vupen.com/english/advisories/2010/1571
  • bugzilla.redhat.com/show_bug.cgi?id=605809
  • github.com/advisories/GHSA-3gm8-32vv-q8mp
  • github.com/moodle/moodle/commit/704c5dfed4f4531b6d74d19cfad573984e74885e
  • nvd.nist.gov/vuln/detail/CVE-2010-2230
  • web.archive.org/web/20100621005117/http://secunia.com/advisories/40248
  • web.archive.org/web/20100711044720/http://secunia.com/advisories/40352

Code Behaviors & Features

Detect and mitigate CVE-2010-2230 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.8.13, all versions starting from 1.9.0 before 1.9.9

Fixed versions

  • 1.8.13
  • 1.9.9

Solution

Upgrade to versions 1.8.13, 1.9.9 or above.

Impact 4 MEDIUM

AV:N/AC:L/Au:S/C:N/I:P/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/moodle/moodle/CVE-2010-2230.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:56 +0000.