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

CVE-2026-102586
MEDIUM 4.3

At a glance

Source
NVD
EPSS
EPSS 0.28 % Β· percentile 20 ()
State
PUBLISHED
Published
Updated
Assigner
fedora
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-79 β€” Improper Neutralization of Input During Web Page Generation

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:Nfedora
CVSS 3.1MEDIUM 4.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NNVD Β· patrick@puiterwijk.org (Secondary)
CVSS 3.1MEDIUM 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NNVD Β· nvd@nist.gov (Primary)

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
moodleaffected 5.2.0 < 5.2.2 ; affected 5.1.0 < 5.1.6 ; affected 5.0.0 < 5.0.9 ; affected 0 < 4.5.13

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD