GitHub Advisory Database
GHSA-9vc3-vm42-fjhm
Moodle's mod_data edit/delete pages pass CSRF token in GET parameter
Details
A security vulnerability was found in Moodle where confidential information that prevents cross-site request forgery (CSRF) attacks was shared publicly through the site's URL. This vulnerability occurred specifically on two types of pages within the mod_data module: edit and delete pages.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | All versions before 4.3.12 (fixed in 4.3.12) |
| Packagist | moodle/moodle | From 4.3.0-beta before 4.3.12 (fixed in 4.3.12) |
| Packagist | moodle/moodle | From 4.4.0-beta before 4.4.8 (fixed in 4.4.8) |
| Packagist | moodle/moodle | From 4.5.0-beta before 4.5.4 (fixed in 4.5.4) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-3637
- https://github.com/moodle/moodle/commit/052007b7324ef24aebe36a876ffa4fa97fac4f81
- https://access.redhat.com/security/cve/CVE-2025-3637
- https://bugzilla.redhat.com/show_bug.cgi?id=2359727
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=467599
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-65356