{"id":"CVE-2022-2986","details":"Enabling and disabling installed H5P libraries did not include the necessary token to prevent a CSRF risk.","aliases":["BIT-moodle-2022-2986","GHSA-xjr3-fwp9-9g96"],"modified":"2026-08-12T03:51:13.509484885Z","published":"2022-10-06T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2986.json","unresolved_ranges":[{"extracted_events":[{"introduced":"moodle 4.0.3 and moodle 3.11.9"},{"last_affected":"moodle 4.0.3 and moodle 3.11.9"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"fedora"},"references":[{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75326"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2986.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2986"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2121360"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moodle/moodle","events":[{"introduced":"94f2d3fc4b974c5c7d500988c56b7ca15f58d7ec"},{"fixed":"3828f4b484d1dbc785172a661fc52b04d5df8f89"},{"introduced":"8b359ad7a63cf219110bca80552fe3d4ea2a635d"},{"fixed":"78f0557607ddb8900386eb68315524cf3a9c5bf2"}],"database_specific":{"extracted_events":[{"introduced":"3.11.0"},{"fixed":"3.11.9"},{"introduced":"4.0.0"},{"fixed":"4.0.3"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"}}],"versions":["v4.0.2","v3.11.8","v4.0.1","v3.11.7","v4.0.0","v3.11.6","v3.11.5","v3.11.4","v3.11.3","v3.11.1","v3.11.2","v3.11.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2986.json"}}],"schema_version":"1.9.0"}