{"id":"CVE-2026-102586","published":"2026-09-30T08:36:19Z","modified":"2026-09-30T15:28:08Z","title":"Moodle: xss via password reset link due to insufficient username escaping","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00488,"percentile":0.3477,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88335","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-102586","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2543641","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=482504","tags":[]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":6.95},{"name":"CVSS severity","points":3.01}]},"affectedVersions":[{"vendor":null,"product":null,"versions":[">= 5.2.0, < 5.2.2",">= 5.1.0, < 5.1.6",">= 5.0.0, < 5.0.9","< 4.5.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-30T13:56:33.265497Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-89725","exploited":false,"provenance":"source"}}