HIGH7.3
GHSA-p7v9-gjrh-563x
Moodle XSS Vulnerability
Quick fix
GHSA-p7v9-gjrh-563x — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^3.5.1Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
3.2.0Fixed in: 3.2.10Fix
composer require moodle/moodle:^3.2.10Packagist/moodle/moodle
Introduced in:
3.1.0Fixed in: 3.1.13Fix
composer require moodle/moodle:^3.1.13References
- https://nvd.nist.gov/vuln/detail/CVE-2018-10891[ADVISORY]
- https://github.com/moodle/moodle/commit/0b18d0c960c27994dd9870d286f2da3fa5868c06[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10891[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=373371[WEB]
- https://web.archive.org/web/20210124185945/https://www.securityfocus.com/bid/104739[WEB]