Moodle: xss via password reset link due to insufficient username escaping
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.
BIT-moodle-2026-102586
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:BIT-moodle-2026-102586
moodle
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 4.5.13
Source reference:
/affected/0/ranges5.0.9Source reference:
/affected/0/ranges5.1.6Source reference:
/affected/0/ranges5.2.2Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.5.13"
},
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.9"
},
{
"introduced": "5.1.0"
},
{
"fixed": "5.1.6"
},
{
"introduced": "5.2.0"
},
{
"fixed": "5.2.2"
}
]
}
],
"package": {
"name": "moodle",
"purl": "pkg:bitnami/moodle",
"ecosystem": "Bitnami"
},
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"database_specific": {
"source": "https://github.com/bitnami/vulndb/tree/main/data/moodle/BIT-moodle-2026-102586.json"
}
}
]- Related CVEs
- CVE-2026-102586
Source reference:
/aliases
Publisher severity
medium
Source reference: /database_specific/severity
- Event
- #84162 · Revision 1
- Added to Heist Feed
- Publisher date