XSS in Moodle
CVE-2026-102586
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.003, 20.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- git.moodle.org/gw (Patch)
- access.redhat.com/security/cve/CVE-2026-102586 (Third Party Advisory, vdb-entry)
- RHBZ#2543641 (issue-tracking, Third Party Advisory, Issue Tracking)
- moodle.org/mod/forum/discuss.php (Vendor Advisory)