GHSA-p7v9-gjrh-563xhigh7.3
Moodle XSS Vulnerability
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
moodle/moodle Packagist
| Affected range | Recorded fix |
|---|---|
| From 3.5.0 before 3.5.1Ecosystem versions | 3.5.1 |
| From 3.4.0 before 3.4.4Ecosystem versions | 3.4.4 |
| From 3.3.0 before 3.3.7Ecosystem versions | 3.3.7 |
| From 3.2.0 before 3.2.10Ecosystem versions | 3.2.10 |
| From 3.1.0 before 3.1.13Ecosystem versions | 3.1.13 |
Version evidence: OSV · GHSA-p7v9-gjrh-563x
View original version evidence (35 explicit versions)
Original source description
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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2018-10891
- Patch github.com/moodle/moodle/commit/0b18d0c960c27994dd9870d286f2da3fa5868c06
- Source reference bugzilla.redhat.com/show_bug.cgi
- Source reference github.com/moodle/moodle
- Source reference moodle.org/mod/forum/discuss.php
- Security advisory web.archive.org/web/20210124185945/https://www.securityfocus.com/bid/104739