MEDIUM4.8
GHSA-qrcj-6fjw-3h9h
Moodle XSS Vulnerability
Quick fix
GHSA-qrcj-6fjw-3h9h — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^3.6.3Details
A vulnerability was found in moodle before versions 3.6.3, 3.5.5, 3.4.8 and 3.1.17. Users with the "login as other users" capability (such as administrators/managers) can access other users' Dashboards, but the JavaScript those other users may have added to their Dashboard was not being escaped when being viewed by the user logging in on their behalf.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-3847[ADVISORY]
- https://github.com/moodle/moodle/commit/070f24d006eab6b958eb083530de159b43c538ed[WEB]
- https://github.com/moodle/moodle/commit/93dda3bfd3caaaa8d23fe8ede543f27ef774958d[WEB]
- https://github.com/moodle/moodle/commit/a37e26d2efe1ca0e4d8d69c611a748af35b33674[WEB]
- https://github.com/moodle/moodle/commit/e836242e1c04cd62d0afa4a790074fd245628e7a[WEB]
- https://github.com/moodle/moodle/commit/ec3b63c772d6448765c68268234cf36c1a91bcac[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3847[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=384010#p1547742[WEB]
- https://web.archive.org/web/20200227082922/http://www.securityfocus.com/bid/107489[WEB]