GitHub Advisory Database
GHSA-p7v9-gjrh-563x
Moodle XSS Vulnerability
Details
A flaw was found in moodle before versions 3.5.1, 3.4.4, 3.3.7, 3.1.13. When a quiz question bank is imported, it was possible for the question preview that is displayed to execute JavaScript that is written into the question bank.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | From 3.5.0 before 3.5.1 (fixed in 3.5.1) |
| Packagist | moodle/moodle | From 3.4.0 before 3.4.4 (fixed in 3.4.4) |
| Packagist | moodle/moodle | From 3.3.0 before 3.3.7 (fixed in 3.3.7) |
| Packagist | moodle/moodle | From 3.2.0 before 3.2.10 (fixed in 3.2.10) |
| Packagist | moodle/moodle | From 3.1.0 before 3.1.13 (fixed in 3.1.13) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-10891
- https://github.com/moodle/moodle/commit/0b18d0c960c27994dd9870d286f2da3fa5868c06
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10891
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=373371
- https://web.archive.org/web/20210124185945/https://www.securityfocus.com/bid/104739