GHSA-h7h6-fwpv-ggvx
Moodle contains Stored XSS via ID number user profile field
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | moodle/moodle | >= 3.10, < 3.10.2 | 3.10.2 |
| Packagist | moodle/moodle | >= 3.9, < 3.9.5 | 3.9.5 |
| Packagist | moodle/moodle | >= 3.8, < 3.8.8 | 3.8.8 |
| Packagist | moodle/moodle | >= 3.5, < 3.5.17 | 3.5.17 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2021-20279
- https://github.com/moodle/moodle/commit/a7e0ba1e71205ccb0a73dedee414f1a167ee2ed7
- https://bugzilla.redhat.com/show_bug.cgi?id=1939033
- https://lists.fedoraproject.org/archives/list/[email protected]/message/AFSNJ7XHVTC52RSRX2GBQFF3VEEAY2MS
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UFH5DDMU5TZ3JT4Q52WMRAHACA5MHIMT
- https://moodle.org/mod/forum/discuss.php?d=419650