Description
Cross-site scripting (XSS) vulnerability in index.php in Moodle 1.7.1 allows remote attackers to inject arbitrary web script or HTML via a style expression in the search parameter, a different vulnerability than CVE-2004-1424.
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 4.0 | moodle | 1.6.3-2+etch1 | DSA-1691-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Moodle 1.7.1 - 'index.php' Cross-Site Scripting EDB-30261 · webapps · Jul 2, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-1691-1 moodle - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://tracker.moodle.org/browse/MDL-10341
- 36366 vdb-entry
- 25929 third-party-advisory
- http://tracker.moodle.org/secure/IssueNavigator.jspa?mode=hide&requestId=10252
- moodle-search-xss(35239) vdb-entry
- 20070703 Moodle XSS / Liesbeth base CMS sensitive information disclosure mailing-list
- 2857 third-party-advisory
- 24748 vdb-entry
- http://securityvulns.ru/Rdocument391.html
- 1018333 vdb-entry
- DSA-1691 vendor-advisory
- http://websecurity.com.ua/1045/