MSA-21-0030: Insufficient escaping of users' names in account confirmation email

MSA-21-0030: Insufficient escaping of users' names in account confirmation email

by Michael Hawkins -
Number of replies: 0

Users' names required additional sanitizing in the account confirmation email, to prevent a self-registration phishing risk.

Note: If you have customised the language string emailconfirmation, you will need to edit the customisation and remove the placeholder {$a->firstname}.

Severity/Risk: Minor
Versions affected: 3.11, 3.10 to 3.10.4, 3.9 to 3.9.7 and earlier unsupported versions
Versions fixed: 3.11.1, 3.10.5 and 3.9.8
Reported by: Babar Khan Akhunzada
CVE identifier: CVE-2021-36402
Changes (master): http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-58393
Tracker issue: MDL-58393 Insufficient escaping of users' names in account confirmation email