GitHub Advisory Database
GHSA-j4mr-vc54-h5pc
Moodle cross-site scripting (XSS) vulnerability
Details
Cross-site scripting (XSS) vulnerability in mod/feedback/mapcourse.php in the Feedback module in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 allows remote authenticated users to inject arbitrary web script or HTML by leveraging the mod/feedback:mapcourse capability to provide a searchcourse parameter.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | All versions before 2.5.9 (fixed in 2.5.9) |
| Packagist | moodle/moodle | From 2.6.0 before 2.6.6 (fixed in 2.6.6) |
| Packagist | moodle/moodle | From 2.7.0 before 2.7.3 (fixed in 2.7.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-7830
- https://github.com/moodle/moodle/commit/7bb6b84cfd308bad89dc0c3f95ad2fa55b7d25f8
- https://github.com/moodle/moodle/commit/8bf49b7377438a7f259750e2f076c612c0a5d84e
- https://github.com/moodle/moodle/commit/b7f75a9c05c65fb1d2f6391f5dd852f9e923a183
- https://github.com/moodle/moodle/commit/c6b6e5decee4c452b8667f82d7c64f137b687d7c
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=275147
- https://web.archive.org/web/20200228175348/http://www.securityfocus.com/bid/71119
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-47865
- http://openwall.com/lists/oss-security/2014/11/17/11
- http://www.securitytracker.com/id/1031215