medium4.3
CVE-2026-102586
A flaw was found in Moodle.
Impact
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
| Vendor | Product | Affected versions |
|---|---|---|
| Moodle | Moodle | before 4.5.13 from 5.0.0 before 5.0.9 from 5.1.0 before 5.1.6 from 5.2.0 before 5.2.2 |