CVE-2026-102586
JSON

4.3medium

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

Severity
4.3medium CVSS:3.1 by fedora
Exploit likelihood
0.28% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
fedora
Also known as
BIT-MOODLE-2026-102586

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

Product or packageVersionsReported by
moodlefrom 5.2.0 before 5.2.2, from 5.1.0 before 5.1.6, from 5.0.0 before 5.0.9, before 4.5.13CVE List
moodle moodlebefore 4.5.13, from 5.0.0 before 5.0.9, from 5.1.0 before 5.1.6, from 5.2.0 before 5.2.2NVD
moodle (Bitnami)before 4.5.13, from 5.0.0 before 5.0.9, from 5.1.0 before 5.1.6, from 5.2.0 before 5.2.2Bitnami Vulnerability Database

All scores

fedora4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-102586 changed 2026-09-30CVE Terms of Use
NVDCVE-2026-102586 changed 2026-10-01Public domain
Bitnami Vulnerability DatabaseBIT-MOODLE-2026-102586 changed 2026-10-05Apache-2.0