Moodle: csrf in xml grade import
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.
BIT-moodle-2026-102588
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-102588
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:U/C:N/I:H/A:N"
}
],
"database_specific": {
"source": "https://github.com/bitnami/vulndb/tree/main/data/moodle/BIT-moodle-2026-102588.json"
}
}
]- Related CVEs
- CVE-2026-102588
Source reference:
/aliases
Publisher severity
medium
Source reference: /database_specific/severity
- Event
- #84005 · Revision 1
- Added to Heist Feed
- Publisher date