CVE-2026-102586: Moodle cross-site scripting in password reset

CVE-2026-102586 · Severity: medium · CVSS 4.3 · Published 2026-09-30

Moodle is a learning management platform used by educational institutions to deliver courses and manage student data. A flaw in the password reset page allows attackers to inject malicious scripts that execute in users' browsers when they click a crafted link, potentially stealing session tokens or login credentials.

Technologies: Moodle. Vendors: Moodle.

Quick answers

Is CVE-2026-102586 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-102586 being exploited in the wild.
How severe is CVE-2026-102586?
Medium severity, with a CVSS score of 4.3, published 30 September 2026.
Which products and versions are affected?
Moodle Moodle.
Is there a fix for CVE-2026-102586?
A patch was published on 2026-06-16: Fix applied in commit bf28cca addressing username sanitization in password reset Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-102586 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-102586?
Check whether you run Moodle. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

Insufficient sanitization of the username input field on the password reset page permits stored XSS injection. An unauthenticated attacker can craft a password reset URL containing malicious JavaScript in the username parameter, which is reflected without proper encoding when the page loads. Exploitation requires social engineering to trick a user into clicking the link, but no authentication is needed.

Affected products

  • Moodle Moodle

Timeline

  • 2026-09-30: disclosed: CVE-2026-102586 published
  • 2026-06-16: patched: Fix applied in commit bf28cca addressing username sanitization in password reset

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.