MEDIUM5.4
GHSA-h7h6-fwpv-ggvx
Moodle contains Stored XSS via ID number user profile field
Quick fix
GHSA-h7h6-fwpv-ggvx — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^3.10.2Details
The ID number user profile field required additional sanitizing to prevent a stored XSS risk in moodle before 3.10.2, 3.9.5, 3.8.8, 3.5.17.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-20279[ADVISORY]
- https://github.com/moodle/moodle/commit/a7e0ba1e71205ccb0a73dedee414f1a167ee2ed7[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=1939033[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AFSNJ7XHVTC52RSRX2GBQFF3VEEAY2MS[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UFH5DDMU5TZ3JT4Q52WMRAHACA5MHIMT[WEB]
- https://moodle.org/mod/forum/discuss.php?d=419650[WEB]