The ID number user profile field required additional sanitizing to prevent a stored XSS risk.
| Severity/Risk: | Serious |
| Versions affected: | 3.10 to 3.10.1, 3.9 to 3.9.4, 3.8 to 3.8.7, 3.5 to 3.5.16 and earlier unsupported versions |
| Versions fixed: | 3.10.2, 3.9.5, 3.8.8 and 3.5.17 |
| Reported by: | Magyar-Hunor Tamas |
| Workaround: | Disable the ID number field by unchecking it in Site admin > Users > User policies > Show user identity, until the patch has been applied. |
| CVE identifier: | CVE-2021-20279 |
| Changes (master): | http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-65552 |
| Tracker issue: | MDL-65552 Stored XSS via ID number user profile field |