{"api_version":"1","generated_at":"2026-07-23T10:20:47+00:00","cve":"CVE-2022-2986","urls":{"html":"https://cve.report/CVE-2022-2986","api":"https://cve.report/api/cve/CVE-2022-2986.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-2986","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-2986"},"summary":{"title":"CVE-2022-2986","description":"Enabling and disabling installed H5P libraries did not include the necessary token to prevent a CSRF risk.","state":"PUBLIC","assigner":"patrick@puiterwijk.org","published_at":"2022-10-06 18:16:00","updated_at":"2022-12-21 15:01:00"},"problem_types":["CWE-352"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2121360","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2121360","refsource":"MISC","tags":[],"title":"2121360 – (CVE-2022-2986) CVE-2022-2986 moodle: CSRF risk in enabling/disabling installed H5P libraries","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75326","name":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75326","refsource":"MISC","tags":[],"title":"Official Moodle git projects - moodle.git/search","mime":"text/xml","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2986","name":"https://www.cve.org/CVERecord?id=CVE-2022-2986","refsource":"MISC","tags":[],"title":"cve-website","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2986","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"2986","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"moodle","cpe5":"moodle","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2022-2986","ASSIGNER":"patrick@puiterwijk.org","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"moodle","version":{"version_data":[{"version_value":"moodle 4.0.3 and moodle 3.11.9"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CSRF"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2121360","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2121360"},{"refsource":"MISC","name":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75326","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75326"}]},"description":{"description_data":[{"lang":"eng","value":"Enabling and disabling installed H5P libraries did not include the necessary token to prevent a CSRF risk."}]}},"nvd":{"publishedDate":"2022-10-06 18:16:00","lastModifiedDate":"2022-12-21 15:01:00","problem_types":["CWE-352"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11.0","versionEndExcluding":"3.11.9","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0.0","versionEndExcluding":"4.0.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}