{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-0335","id":"CVE-2022-0335","title":"Cross Site Request Forgery in Moodle","description":"A flaw was found in Moodle in versions 3.11 to 3.11.4, 3.10 to 3.10.8, 3.9 to 3.9.11 and earlier unsupported versions. The \"delete badge alignment\" functionality did not include the necessary token check to prevent a CSRF risk.","descriptionLong":"A flaw was found in Moodle in versions 3.11 to 3.11.4, 3.10 to 3.10.8, 3.9 to 3.9.11 and earlier unsupported versions. The \"delete badge alignment\" functionality did not include the necessary token check to prevent a CSRF risk.","published":"2022-01-25T19:11:12.000Z","updated":"2026-10-28T02:30:22.125257762Z","reserved":"2022-01-21T00: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"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["moodle"],"affectedProducts":[{"vendor":"n/a","product":"moodle","defaultStatus":null,"versions":[{"status":"affected","version":"moodle 3.11.5, moodle 3.10.9 and moodle 3.9.12"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[">=3.11 <3.11.5",">=3.10 <3.10.8",">=3.9 <3.9.11"],"fixed":["3.11.5","3.10.8","3.9.11"],"advisory":"GHSA-xpfv-89vg-r562"}],"cwes":["CWE-352"],"aliases":["BIT-moodle-2022-0335","GHSA-xpfv-89vg-r562"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2043666","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=431103","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0335.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0335","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/d40cc61eba229c6d1f47b9a525022fbc9136b9f6","tags":["web"]},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00624,"epssPercentile":0.5075,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-0335","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0335","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-0335","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xpfv-89vg-r562","ok":true,"note":"GHSA-xpfv-89vg-r562"},{"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-0335","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}