CVE-2026-102586
Moodle: xss via password reset link due to insufficient username escaping
CVSS Score
4.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-79 |
| Published | Sep 30, 2026 |
Stay Ahead of the Next One
Get instant alerts for
Be the first to know when new medium vulnerabilities are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
References
git.moodle.org: http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88335 access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-102586 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2543641 moodle.org: https://moodle.org/mod/forum/discuss.php?d=482504
Credits
Upstream acknowledges Henk van den Toorn as the original reporter.