Description
Cross-site scripting (XSS) vulnerability in course/lib.php in Moodle 1.6 before 1.6.9, 1.7 before 1.7.7, 1.8 before 1.8.8, and 1.9 before 1.9.4 allows remote attackers to inject arbitrary web script or HTML via crafted log table information that is not properly handled when it is displayed in a log report.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 5.0 | moodle | 1.8.2.dfsg-3+lenny1 | DTSA-195-1 |
| Debian 4.0 | moodle | 1.6.3-2+etch2 | DSA-1724-1 |
Advisories 2
- DSA-1724-1 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- DTSA-195-1 moodle - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- SUSE-SR:2009:007 vendor-advisory
- http://moodle.org/security/
- 34418 third-party-advisory
- 33955 third-party-advisory
- DSA-1724 vendor-advisory
- [oss-security] 20090204 CVS request - Moodle mailing-list