{"id":"BIT-moodle-2020-25699","details":"In moodle, insufficient capability checks could lead to users with the ability to course restore adding additional capabilities to roles within that course. Versions affected: 3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, 3.5 to 3.5.14 and earlier unsupported versions. This is fixed in moodle 3.9.3, 3.8.6, 3.7.9, 3.5.15, and 3.10.","aliases":["CVE-2020-25699","GHSA-h77r-rp97-7rv4"],"modified":"2026-09-08T08:48:14.525700897Z","published":"2024-03-06T11:11:40.195Z","database_specific":{"cpes":["cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"],"severity":"High"},"references":[{"type":"ADVISORY","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1895425"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6/"},{"type":"ADVISORY","url":"https://moodle.org/mod/forum/discuss.php?d=413936"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25699"}],"affected":[{"package":{"name":"moodle","ecosystem":"Bitnami","purl":"pkg:bitnami/moodle"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.5.0"},{"fixed":"3.5.15"},{"introduced":"3.7.0"},{"fixed":"3.7.9"},{"introduced":"3.8.0"},{"fixed":"3.8.6"},{"introduced":"3.9.0"},{"fixed":"3.9.3"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/moodle/BIT-moodle-2020-25699.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}],"schema_version":"1.9.0"}