GitHub Advisory Database
GHSA-gqrp-qhv8-phrv
Moodle Cross-site Scripting
Details
moodle before versions 3.5.2, 3.4.5, 3.3.8 is vulnerable to a boost theme - blog search GET parameter insufficiently filtered. The breadcrumb navigation provided by Boost theme when displaying search results of a blog were insufficiently filtered, which could result in reflected XSS if a user followed a malicious link containing JavaScript in the search parameter.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 3.3 before 3.3.8 (fixed in 3.3.8) |
| Packagist | moodle/moodle | From 3.4 before 3.4.5 (fixed in 3.4.5) |
| Packagist | moodle/moodle | From 3.5 before 3.5.2 (fixed in 3.5.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-14631
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14631
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=376025
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62857
- http://www.securityfocus.com/bid/105371