Skip to content

CVE-2026-102588 Moodle: csrf in xml grade import

MediumCVSS 6.5 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
moodle < 4.5.13; >= 5.0.0, < 5.0.9; >= 5.1.0, < 5.1.6; >= 5.2.0, < 5.2.2 4.5.13, 5.0.9, 5.1.6, 5.2.2 Fixed
moodle/moodle < 4.5.13; >= 5.0.0, < 5.0.9; >= 5.1.0, < 5.1.6; >= 5.2.0, < 5.2.2 4.5.13, 5.0.9, 5.1.6, 5.2.2 Fixed

Affected products

ProductAffected versionsFixed in
moodle >= 5.2.0, < 5.2.2 5.2.2
moodle >= 5.1.0, < 5.1.6 5.1.6
moodle >= 5.0.0, < 5.0.9 5.0.9
moodle < 4.5.13 4.5.13
moodle/moodle < 4.5.13 4.5.13
moodle/moodle >= 5.0.0, < 5.0.9 5.0.9
moodle/moodle >= 5.1.0, < 5.1.6 5.1.6
moodle/moodle >= 5.2.0, < 5.2.2 5.2.2

References