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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| — | — | >= 5.2.0, < 5.2.2; >= 5.1.0, < 5.1.6; >= 5.0.0, < 5.0.9; < 4.5.13 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88335Patch
- https://access.redhat.com/security/cve/CVE-2026-102586Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2543641Issue Tracking, Third Party Advisory
- https://moodle.org/mod/forum/discuss.php?d=482504Vendor Advisory
Timeline
- Published
- Sep 30, 2026
- Last modified
- Oct 1, 2026
- NVD status
- Analyzed