CVE-2026-102586: Moodle: xss via password reset link due to insufficient username escaping
CVE-2026-102586 affects 232 listed versions of Moodle in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Moodle
232 of 250 listed versions are affected. Fixed in 5.2.2, 5.1.6, 5.0.9, 4.5.13. The newest release, 5.3.1, is not affected.
5.2.1 5.2.0 5.1.5 5.1.4 5.1.3 5.1.2 5.1.1 5.1.0 5.0.8 5.0.7 5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0 4.5.12 4.5.11 4.5.10 4.5.9 4.5.8 4.5.7 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.4.12 4.4.11 4.4.10 4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.4 4.3.12 4.3.11 4.3.10 4.3.9 4.3.8 4.3.7 4.3.6 4.3.5 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 and 172 more
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD)
Published by Fedora on 30 September 2026. Last changed 1 October 2026.
Sources
Check one version you run: look CVE-2026-102586 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.