Original 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.
Affected software
- Moodle ≥ 5.1.0 < 5.1.6≥ 5.0.0 < 5.0.9< 4.5.13≥ 5.2.0 < 5.2.2 Fixed in: 5.1.6, 5.0.9, 4.5.13, 5.2.2 exact match
Details
- Published
- 2026-09-30
- Last modified
- 2026-10-01
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N- CWE
- CWE-346
- EPSS (30-day exploit probability)
- 0.20% (percentile 10)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.