Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-102586 EUVD-2026-89725GHSA-rfv4-mv3r-qx66

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

Published Sep 30, 2026 · Updated Sep 30, 2026 · Assigned by fedora

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 products

VendorProductAffectedFixed
— moodle 5.2.0 – < 5.2.2, 5.1.0 – < 5.1.6, 5.0.0 – < 5.0.9, < 4.5.13 5.2.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Advisories 1

References