Skip to main content
← All vulnerabilities
CVE-2026-102586BIT-MOODLE-2026-102586

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.2.2, 5.1.6, 5.0.9, 4.5.13
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • moodle

    From 5.2.0 · fixed in 5.2.2; From 5.1.0 · fixed in 5.1.6; From 5.0.0 · fixed in 5.0.9; fixed in 4.5.13

  • moodleBitnami

    fixed in 4.5.13; From 5.0.0 · fixed in 5.0.9; From 5.1.0 · fixed in 5.1.6; From 5.2.0 · fixed in 5.2.2

References 4

git.moodle.org

access.redhat.com

bugzilla.redhat.com

moodle.org