CVE-2024-25981: Improper Access Control in moodle
Separate Groups mode restrictions were not honored when performing a forum export, which would export forum data for all groups. By default this only provided additional access to non-editing teachers.
Published Feb 19, 2024 · Updated Mar 14, 2026
Affected packages
moodle/moodle
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.3.0, < 4.3.3
- Fixed in
- 4.3.3
- Check
composer show moodle/moodle
moodle/moodle
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.2.0, < 4.2.6
- Fixed in
- 4.2.6
- Check
composer show moodle/moodle
moodle/moodle
- Ecosystem
- Composer (PHP)
- Affected
- < 4.1.9
- Fixed in
- 4.1.9
- Check
composer show moodle/moodle
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Separate Groups mode restrictions were not honored when performing a forum export, which would export forum data for all groups. By default this only provided additional access to non-editing teachers.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-25981
- https://bugzilla.redhat.com/show_bug.cgi?id=2264097
- https://moodle.org/mod/forum/discuss.php?d=455637
- https://github.com/moodle/moodle/commit/1c059cb3fe39da46959e912dc671844dd204e83b
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KXGBYJ43BUEBUAQZU3DT5I5A3YLF47CB
- https://github.com/advisories/GHSA-jfrg-9hpq-9hvp
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-26045
Moodle has a Remote Code Execution risk via file restore
high7.2Feb 21, 2026CVE-2026-26047
Moodle TeX formula editor is vulnerable to DoS through lack of execution time limits
medium6.5Feb 21, 2026CVE-2025-67848
Moodle authentication bypass vulnerability
high8.1Feb 3, 2026CVE-2025-67849
Moodle Cross-site Scripting (XSS) vulnerability
high7.3Feb 3, 2026CVE-2025-67850
Moodle vulnerable to Cross-site Scripting
high7.3Feb 3, 2026CVE-2025-67851
Moodle formula injection vulnerability
medium6.1Feb 3, 2026
