Moodle: csrf in xml grade import (moodle)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.20 % · percentile 10 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- fedora
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-346 — Origin Validation Error
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | fedora |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | NVD · patrick@puiterwijk.org (Secondary) |
European references
- ENISA EUVD · EUVD-2026-89727
- GCVE · GCVE-0-2026-102588
Affected configurations (NVD CPE)
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*< 4.5.13cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*≥ 5.0.0 < 5.0.9cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*≥ 5.1.0 < 5.1.6cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*≥ 5.2.0 < 5.2.2
Affected products
| Product | Versions |
|---|---|
| moodle | affected 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
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |