{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-2986","id":"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.","descriptionLong":"Enabling and disabling installed H5P libraries did not include the necessary token to prevent a CSRF risk.","published":"2022-10-06T00:00:00.000Z","updated":"2026-10-28T02:31:13.645706072Z","reserved":"2022-08-25T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"fedora","metric":{"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","rating":"high","source":"NVD"},"metrics":[{"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","rating":"high","source":"NVD"},{"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","rating":"high","source":"GitHub"}],"rating":"high","products":["moodle"],"affectedProducts":[{"vendor":"n/a","product":"moodle","defaultStatus":null,"versions":[{"version":"moodle 4.0.3 and moodle 3.11.9","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[">=3.11 <3.11.9",">=4.0 <4.0.3"],"fixed":["3.11.9","4.0.3"],"advisory":"GHSA-xjr3-fwp9-9g96"}],"cwes":["CWE-352"],"aliases":["BIT-moodle-2022-2986","GHSA-xjr3-fwp9-9g96"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2121360","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory","report","web"]},{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75326","tags":["x_transferred","Patch","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2986.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2986","tags":["advisory"]},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00467,"epssPercentile":0.41079,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-2986","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2986","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-2986","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xjr3-fwp9-9g96","ok":true,"note":"GHSA-xjr3-fwp9-9g96"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-2986","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}