{"id":"GHSA-3jrj-x6cj-97cp","aliases":["BIT-moodle-2021-43559","CVE-2021-43559"],"title":"Moodle contains CSRF vulnerability","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","description":"A flaw was found in Moodle in versions 3.11 to 3.11.3, 3.10 to 3.10.7, 3.9 to 3.9.10 and earlier unsupported versions. The \"delete related badge\" functionality did not include the necessary token check to prevent a CSRF risk.","severity":"high","score":8.8,"published":"2022-05-24T19:21:11.000Z","modified":"2024-02-16T08:20:54.831Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","sources":[{"name":"OSV · GHSA-3jrj-x6cj-97cp","url":"https://osv.dev/vulnerability/GHSA-3jrj-x6cj-97cp"}],"ranges":[{"events":[{"introduced":"3.11"},{"fixed":"3.11.4"}],"type":"ECOSYSTEM"}],"versions":["v3.11.0","v3.11.0-beta","v3.11.0-rc1","v3.11.0-rc2","v3.11.1","v3.11.2","v3.11.3"],"fixed":["3.11.4"]},{"ecosystem":"Packagist","name":"moodle/moodle","sources":[{"name":"OSV · GHSA-3jrj-x6cj-97cp","url":"https://osv.dev/vulnerability/GHSA-3jrj-x6cj-97cp"}],"ranges":[{"events":[{"introduced":"3.10"},{"fixed":"3.10.8"}],"type":"ECOSYSTEM"}],"versions":["v3.10.0","v3.10.0-beta","v3.10.0-rc1","v3.10.0-rc2","v3.10.1","v3.10.2","v3.10.3","v3.10.4","v3.10.5","v3.10.6","v3.10.7"],"fixed":["3.10.8"]},{"ecosystem":"Packagist","name":"moodle/moodle","sources":[{"name":"OSV · GHSA-3jrj-x6cj-97cp","url":"https://osv.dev/vulnerability/GHSA-3jrj-x6cj-97cp"}],"ranges":[{"events":[{"introduced":"3.9"},{"fixed":"3.9.11"}],"type":"ECOSYSTEM"}],"versions":["v3.9.0","v3.9.0-beta","v3.9.0-rc1","v3.9.0-rc2","v3.9.0-rc3","v3.9.1","v3.9.10","v3.9.2","v3.9.3","v3.9.4","v3.9.5","v3.9.6","v3.9.7","v3.9.8","v3.9.9"],"fixed":["3.9.11"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-43559","https://github.com/moodle/moodle/commit/20d41ebae4eb28269298504c68db511a05ec4969","https://bugzilla.redhat.com/show_bug.cgi?id=2021517","https://moodle.org/mod/forum/discuss.php?d=429099"],"sources":[{"name":"OSV","id":"GHSA-3jrj-x6cj-97cp","modified":"2024-02-16T08:20:54.831872Z","url":"https://osv.dev/vulnerability/GHSA-3jrj-x6cj-97cp"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-29T00:35:31.531Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}