{"id":"GHSA-xjr3-fwp9-9g96","aliases":["BIT-moodle-2022-2986","CVE-2022-2986"],"title":"Moodle Cross-Site Request Forgery (CSRF)","description":"Enabling and disabling installed H5P libraries did not include the necessary token to prevent a CSRF risk.","severity":"high","score":8.8,"published":"2022-10-06T18:52:03.000Z","modified":"2024-04-23T23:58:38.760Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.11"},{"fixed":"3.11.9"}],"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","v3.11.4","v3.11.5","v3.11.6","v3.11.7","v3.11.8"],"fixed":["3.11.9"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"4.0"},{"fixed":"4.0.3"}],"type":"ECOSYSTEM"}],"versions":["v4.0.0","v4.0.0-beta","v4.0.0-rc1","v4.0.0-rc2","v4.0.0-rc3","v4.0.0-rc4","v4.0.1","v4.0.2"],"fixed":["4.0.3"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-2986","https://bugzilla.redhat.com/show_bug.cgi?id=2121360","https://github.com/moodle/moodle","http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75326"],"sources":[{"name":"OSV","id":"GHSA-xjr3-fwp9-9g96","modified":"2024-04-23T23:58:38.760953Z","url":"https://osv.dev/vulnerability/GHSA-xjr3-fwp9-9g96"}],"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}]}