Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft reset link with scripted username
-
DeliveryPhish victim into clicking link
-
ExploitReset page reflects unsanitized input
-
ExecutionScript executes in victim browser
-
ImpactSteal session data or act as user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires convincing an unauthenticated user to click a specially crafted password-reset link that injects script via the username field on Moodle's password reset page (UI:R). It is a reflected XSS, so no stored persistence or authentication is needed, but success is limited by the required user interaction (the victim must open the attacker-supplied link) and by browser/CSP protections that may block inline script. Impact is confined to the victim's browser session in the Moodle origin (S:U, C:L only) rather than server-side code execution. Affected versions are not specified in the provided data. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N, base 4.3) describes a reflected cross-site scripting flaw reachable over the network without authentication but requiring victim interaction, with only limited confidentiality impact and no integrity or availability impact - consistent with a low-to-moderate severity reflected XSS rather than a server-compromise bug. No EPSS score, KEV listing, POC, or SSVC decision data was provided, so all exploitation-likelihood signals are absent; per the rules this is 'no public exploit identified at time of analysis.' The signals are internally consistent (network reflected XSS gated by UI:R), so there is no CVSS-vs-description conflict to flag. Overall this is a real but modest-priority issue: exploitation depends on social-engineering a victim into clicking a crafted password-reset link, which caps practical impact, though Moodle's very large install base broadens the potential target pool. |
| Exploit ScenarioDerived | An attacker crafts a malicious Moodle password-reset URL embedding a username value laced with script, then phishes an unauthenticated user into opening it. When the reset page renders the unsanitized username, the injected JavaScript executes in the victim's browser within the Moodle origin, enabling session-relevant data theft or UI manipulation. No public proof-of-concept exploit was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 30, 2026
Reflected cross-site scripting (XSS) in Moodle's password reset page allows unauthenticated remote attackers to execute arbitrary script in a victim's browser by tricking them into opening a crafted password-reset link containing a malicious username. The flaw stems from insufficient sanitization of the username input and is assigned CVSS 4.3 (AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N). No public exploit code or active exploitation is known at the time of analysis; an upstream fix commit (MDL-88335) is referenced but a released patched version is not independently confirmed.
RemediationAI
Apply the upstream fix commit referenced as MDL-88335 (http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-88335) or upgrade to a patched Moodle release once a fixed version is announced; the provided data does not specify an exact patched version. Until a patch is applied, consider implementing a strict Content Security Policy (CSP) that disallows inline script execution to mitigate XSS, but be aware this can break legitimate Moodle functionality that relies on inline JavaScript. Additionally, ensure that all user-supplied input on the password reset page is properly escaped and validated. Monitor the Moodle security advisories and the Red Hat CVE page (https://access.redhat.com/security/cve/CVE-2026-102586) for an official patch release. Blocking access to the password reset page entirely is not a practical workaround as it would disrupt legitimate users.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Moodle is a PHP-based learning management system. The flaw is a reflected cross-site scripting (XSS) vulnerability (CWE-79) in the password reset page, where the username parameter is not properly sanitized before being reflected back to the user. An attacker can craft a malicious link that, when clicked by a victim, injects arbitrary JavaScript into the victim's browser within the context of the Moodle origin. Because the script executes in the victim's session, it can be used to steal cookies, session tokens, or perform actions on behalf of the user, but the CVSS vector (S:U, C:L) indicates the impact is limited to confidentiality within the browser and does not extend to server-side compromise. The attack requires user interaction (UI:R) to succeed, and no authentication is needed (PR:N). The fix is tracked in Moodle's git repository as MDL-88335, and Red Hat is also tracking the issue.
Know when Moodle gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Network-reachable reflected XSS needing no auth (PR:N) but a victim click (UI:R); limited in-origin confidentiality impact only, no integrity/availability, scope unchanged.
Primary rating from Vendor (fedora).
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)NVD
Moodle through 2.5.2 allows remote authenticated administrators to execute arbitrary programs by configuring the aspell
A command execution vulnerability exists in the default legacy spellchecker plugin in Moodle 3.10. Rated critical severi
A flaw was found in Moodle. Rated high severity (CVSS 8.1), this vulnerability is remotely exploitable, no authenticatio
In Moodle 2.x and 3.x, SQL injection can occur via user preferences. Rated critical severity (CVSS 9.8), this vulnerabil
The Moodle LMS Jmol plugin version 6.1 and earlier contains a path traversal vulnerability in jsmol.php. The query param
Multiple cross-site scripting (XSS) vulnerabilities in Moodle through 2.2.11, 2.3.x before 2.3.9, 2.4.x before 2.4.6, an
Unrestricted file upload vulnerability in the double extension support in the "image" module in Moodle 3.1.2 allows remo
Unrestricted file upload vulnerability in the "legacy course files" and "file manager" modules in Moodle 3.1.2 allows re
moodle before versions 3.5.2, 3.4.5, 3.3.8, 3.1.14 is vulnerable to an XML import of ddwtos could lead to intentional re
An issue was discovered in Moodle 3.x. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low a
Moodle 3.1.2 allows remote attackers to obtain sensitive information via unspecified vectors, related to a "SQL Injectio
Moodle 3.10.3 contains a persistent cross-site scripting vulnerability in the calendar event subtitle field that allows
EUVD-2026-89725
GHSA-rfv4-mv3r-qx66
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB