CVE-2026-102586
published medium CVSS 3.1 · 4.3Moodle: xss via password reset link due to insufficient username escaping
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | moodle5.2.0 to < 5.2.2 · 5.1.0 to < 5.1.6 · 5.0.0 to < 5.0.9 · 0 to < 4.5.13 · Other versions: unaffected | Affected | Not stated | fedora |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- fedora · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| moodle | 5.2.0 to < 5.2.2 (affected · semver)5.1.0 to < 5.1.6 (affected · semver)5.0.0 to < 5.0.9 (affected · semver)0 to < 4.5.13 (affected · semver)Default: unaffected | fedora · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- 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
- RHBZ#2543641 https://bugzilla.redhat.com/show_bug.cgi?id=2543641
- https://moodle.org/mod/forum/discuss.php?d=482504
Provider assertions
2fedora · cna
Moodle: xss via password reset link due to insufficient username escaping
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b20fa7126f9579c92c2423d389da1012e6805845740dd11d031a6dccc62c2e28
- Ingested
- 30 Sep 2026, 15:44:22 UTC
- Source record
- Official CVE record