CVE-2026-102586: Moodle: xss via password reset link due to insufficient username escaping
Vulnerability summary
CVE-2026-102586 is a medium (CVSS 6.1) vulnerability in moodle. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 21.4% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 30-09-2026PublishedVulnerability first disclosed.
- 30-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
21%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.28% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Moodle1 product
- moodle< 4.5.13 | ≥ 5.0.0, < 5.0.9 | ≥ 5.1.0, < 5.1.6 | ≥ 5.2.0, < 5.2.2
Ubuntu1 product
- moodleAll versions (No fix recorded)
2 vendors · 2 products
References
6 links- bugzilla.redhat.com/show_bug.cgi?id=2543641Issue TrackingX Refsource REDHATREPORTThird Party Advisory