{"id":"CVE-2021-43559","details":"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.","aliases":["BIT-moodle-2021-43559","GHSA-3jrj-x6cj-97cp"],"modified":"2026-02-24T01:22:52.862234Z","published":"2021-11-22T16:15:08.287Z","references":[{"type":"ADVISORY","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2021517"},{"type":"ADVISORY","url":"https://moodle.org/mod/forum/discuss.php?d=429099"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2021517"},{"type":"FIX","url":"https://moodle.org/mod/forum/discuss.php?d=429099"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moodle/moodle","events":[{"introduced":"500c131eb49771e36f68d151dfa37fef5a9bc2df"},{"fixed":"b02dd253b8e111cfa2c22883bb1d831c6f1f5f63"},{"introduced":"94f2d3fc4b974c5c7d500988c56b7ca15f58d7ec"},{"fixed":"e1ad263f906edb699a3f1dedaef90c90d8afe47d"},{"introduced":"ec58cefefb2722f61f77c9a2b6a12d40a8c078a0"},{"fixed":"08534dff5030462233cede83148f8f6ba727f3a8"}]}],"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","v3.11.0","v3.11.0-beta","v3.11.0-rc1","v3.11.0-rc2","v3.11.1","v3.11.2","v3.11.3","v3.9.0","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"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-43559.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}