CVE-2026-102586
Moodle: xss via password reset link due to insufficient username escaping
Overview
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.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | moodle | <4.5.13>=5.0.0, <5.0.9>=5.1.0, <5.1.6>=5.2.0, <5.2.2 | 4.5.135.0.95.1.65.2.2 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
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
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-102586
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.