Vulnerability · Published Sep 30, 2026 · Assigned by fedora
CVE-2026-102586Moodle: xss via password reset link due to insufficient username escaping
Medium 4.3
In plain English
A medium-severity cross-site scripting in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities).
Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.3%top 79.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| moodle | 5.2.0 – before 5.2.25.1.0 – before 5.1.65.0.0 – before 5.0.90 – before 4.5.13 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88335
- https://access.redhat.com/security/cve/CVE-2026-102586 vdb-entry, x_refsource_REDHAT
- RHBZ#2543641 issue-tracking, x_refsource_REDHAT
- https://moodle.org/mod/forum/discuss.php?d=482504