GitHub Advisory Database
GHSA-cp39-43xr-2wrp
Moodle XSS Vulnerability
Details
Multiple cross-site scripting (XSS) vulnerabilities in lib/javascript-static.js in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4 allow remote authenticated users to inject arbitrary web script or HTML via a (1) alt or (2) title attribute in an IMG element.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | All versions up to and including 2.5.9 |
| Packagist | moodle/moodle | From 2.6.0 before 2.6.9 (fixed in 2.6.9) |
| Packagist | moodle/moodle | From 2.7.0 before 2.7.6 (fixed in 2.7.6) |
| Packagist | moodle/moodle | From 2.8.0 before 2.8.4 (fixed in 2.8.4) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-2269
- https://github.com/moodle/moodle/commit/ead8b28f92da72fb836cf9183aaf6f11a7eb1a21
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=307383
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-49144
- http://openwall.com/lists/oss-security/2015/03/16/1