# CVE-2020-25698: Improper Access Control in moodle

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.92%, higher than 80% of CVEs (2026-12-02)
- Published: 2020-11-19T16:05:37.000Z
- Modified: 2026-09-08T08:48:14.425Z
- Also known as: GHSA-vxhx-gmhm-623c, BIT-MOODLE-2020-25698
- Weaknesses: CWE-284
- Assigned by: redhat

## Description

Users' enrollment capabilities were not being sufficiently checked in Moodle when they are restored into an existing course. This could lead to them unenrolling users without having permission to do so. Versions affected: 3.5 to 3.5.14, 3.7 to 3.7.8, 3.8 to 3.8.5, 3.9 to 3.9.2 and earlier unsupported versions. Fixed in 3.9.3, 3.8.6, 3.7.9, 3.5.15, and 3.10.

(As written by CVE List.)

## Affected

- moodle: Fixed in 3.9.3; Fixed in 3.8.6; Fixed in 3.7.9; Fixed in 3.5.15; Fixed in 3.10
- moodle/moodle (Packagist): from 3.9.0 before 3.9.3; from 3.8.0 before 3.8.6; from 3.7.0 before 3.7.9; from 3.5 before 3.5.15
- moodle moodle: from 3.5.0 up to 3.5.14; from 3.7.0 up to 3.7.8; from 3.8.0 up to 3.8.5; from 3.9.0 up to 3.9.2
- fedoraproject fedora: 32; 33
- moodle (Bitnami): from 3.5.0 before 3.5.15; from 3.7.0 before 3.7.9; from 3.8.0 before 3.8.6; from 3.9.0 before 3.9.3

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1895419> (advisory, issue-tracking, vendor-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=413935> (advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25698> (advisory, web)
- <https://github.com/moodle/moodle/commit/c8ac07fb50fa92eee1d574823fbda09e1b309a63> (web)
- <https://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-67837> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6> (web)

## Sources

- CVE List: [CVE-2020-25698](https://www.cve.org/CVERecord?id=CVE-2020-25698), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-vxhx-gmhm-623c](https://github.com/advisories/GHSA-vxhx-gmhm-623c), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2020-25698](https://nvd.nist.gov/vuln/detail/CVE-2020-25698), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2020-25698](https://osv.dev/vulnerability/BIT-MOODLE-2020-25698), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-25698 · Whole record: https://cve.day/CVE-2020-25698.json · Rebuilt by cve.day 2026-11-25T22:57:55.880Z
