Description
A flaw was found in Moodle. Insufficient sanitization of username input on the password reset page allows a remote attacker to conduct a cross-site scripting (XSS) attack. By convincing an unauthenticated user to access a specially crafted password reset link, an attacker could execute arbitrary script in the victim's browser.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
moodle
Default version status: unaffected
5.2.0 to < 5.2.2affected5.1.0 to < 5.1.6affected5.0.0 to < 5.0.9affected0 to < 4.5.13affected