Original 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 software
- Moodle ≥ 5.1.0 < 5.1.6≥ 5.0.0 < 5.0.9< 4.5.13≥ 5.2.0 < 5.2.2 Fixed in: 5.1.6, 5.0.9, 4.5.13, 5.2.2 exact match
Details
- Published
- 2026-09-30
- Last modified
- 2026-10-01
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- CWE
- CWE-79
- EPSS (30-day exploit probability)
- 0.28% (percentile 20)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.