CVE-2026-102586: Moodle: xss via password reset link due to insufficient username escaping

Published Sep 29, 2026
·
Updated

A flaw was found in Moodle. Insufficient escaping of the username on the password reset page allowed a minor cross-site scripting (XSS) risk if an unauthenticated user was tricked into opening a crafted password reset link. The reporter states this did not affect authenticated user sessions; that disclaimer is reflected in the impact assessment here.

Other sources

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.

— MITRE

Affected Software

1 affected component
Moodle Moodle

Event History

Sep 29, 2026
Data Sourced
via Red Hat·08:37 PM
DescriptionSeverityAffected Software
Sep 30, 2026
CVE Published
via MITRE·08:36 AM
Data Sourced
via MITRE·08:36 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

The issue affects unauthenticated users who can be persuaded to open a specially crafted password reset link. The available information states that authenticated user sessions are not affected.

2

What does an attacker need to exploit it?

An attacker can operate remotely without privileges, but must convince an unauthenticated victim to access a crafted password reset link. User interaction is therefore required.

3

What is the likely impact of successful exploitation?

Successful exploitation can execute arbitrary script in the unauthenticated victim's browser through the password reset page. The assessed impact is limited to confidentiality, with no integrity or availability impact indicated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203