{"id":"CVE-2022-2986","aliases":["BIT-moodle-2022-2986","EUVD-2022-7184","GHSA-xjr3-fwp9-9g96","UBUNTU-CVE-2022-2986"],"status":"published","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":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00467,"percentile":0.40726,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-352"],"published":"2022-10-06T00:00:00Z","modified":"2026-10-28T02:31:13Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["3.11.9","4.0.3"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"moodle","fixed_in":["3.11.9","4.0.3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11"},{"fixed":"3.11.9"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0"},{"fixed":"4.0.3"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"moodle","ranges":[{"type":"SEMVER","events":[{"introduced":"3.11.0"},{"fixed":"3.11.9"},{"introduced":"4.0.0"},{"fixed":"4.0.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11"},{"fixed":"3.11.9"}]}],"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"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0"},{"fixed":"4.0.3"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.9+dfsg-1","2.7.10+dfsg-1","2.7.11+dfsg-1","2.7.11+dfsg-2","2.7.12+dfsg-1","3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2121360","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory","advisory","report","web"]},{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-75326","tags":["x_transferred","Patch","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2986","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-xjr3-fwp9-9g96"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2986.json","tags":["advisory"]},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-2986","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2986","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-2986","description":"Enabling and disabling installed H5P libraries did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2022-10-06T00:00:00Z","modified":"2024-08-03T00:52:59.888Z","updated_at":"2026-11-02T14:34:32.843656Z"}],"euvd":[{"id":"EUVD-2022-7184","description":"Enabling and disabling installed H5P libraries did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2022-10-06T00:00:00Z","modified":"2024-08-03T00:52:59Z","updated_at":"2026-11-03T03:25:57.460299Z"}],"ghsa":[{"id":"GHSA-xjr3-fwp9-9g96","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.","status":"published","published":"2022-10-06T18:52:03Z","modified":"2024-04-23T23:43:29Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:37:45.47408Z"}],"nvd":[{"id":"CVE-2022-2986","description":"Enabling and disabling installed H5P libraries did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2022-10-06T18:16:00.21Z","modified":"2026-06-17T04:42:55.993Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:07:29.026521Z"}],"osv":[{"id":"GHSA-xjr3-fwp9-9g96","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.","status":"published","published":"2022-10-06T18:52:03Z","modified":"2024-04-23T23:58:38.760953Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:47:00.198893Z"},{"id":"UBUNTU-CVE-2022-2986","description":"Enabling and disabling installed H5P libraries did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2022-10-06T18:16:00Z","modified":"2026-09-23T18:45:45.542544029Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:53:53.899276Z"},{"id":"BIT-moodle-2022-2986","description":"Enabling and disabling installed H5P libraries did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2024-03-06T11:05:00.288Z","modified":"2026-09-08T08:48:14.84122848Z","updated_at":"2026-11-02T15:28:33.469426Z"},{"id":"CVE-2022-2986","description":"Enabling and disabling installed H5P libraries did not include the necessary token to prevent a CSRF risk.","status":"published","published":"2022-10-06T00:00:00Z","modified":"2026-10-28T02:31:13.645706072Z","updated_at":"2026-11-02T15:44:25.164673Z"}]}}
