CVE-2026-102586

Moodle: xss via password reset link due to insufficient username escaping

State
Published
Severity
4.3 Medium
Published
Sep 30, 2026
Updated
Sep 30, 2026
Reserved
Sep 29, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:Nfedora

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
moodle
  • 5.2.0 to before 5.2.2Affected
  • 5.1.0 to before 5.1.6Affected
  • 5.0.0 to before 5.0.9Affected
  • before 4.5.13Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.