CVE-2026-102588
Description
A flaw was found in Moodle. The XML grade import feature lacks proper Cross-Site Request Forgery (CSRF) token validation. By tricking an authenticated user with grade management permissions into visiting a malicious webpage, an attacker can trigger unauthorized requests on the victim's behalf. This flaw allows a remote attacker to set or overwrite student grades without authorization.
How to fix
- moodle moodle4.5.13, 5.0.9, 5.1.6, 5.2.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moodle moodle | v < 4.5.13, 5.0.0 ≤ v < 5.0.9, 5.1.0 ≤ v < 5.1.6, 5.2.0 ≤ v < 5.2.2 | 4.5.13, 5.0.9, 5.1.6, 5.2.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.