{"id":"CVE-2022-0983","aliases":["BIT-moodle-2022-0983","GHSA-h2fw-93qx-vrcq"],"url":"https://o3.security/vulnerability/CVE-2022-0983","summary":"SQL Injection in Moodle","details":"An SQL injection risk was identified in Badges code relating to configuring criteria. Access to the relevant capability was limited to teachers and managers by default.","published":"2022-03-25T18:03:07Z","modified":"2026-10-28T02:30:28.285068925Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.11.6"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.10.10"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.9.13"}],"fix":{"url":"https://github.com/moodle/moodle/commit/c2794752ea3cdda2d64a0651da08b2cdf730d9f1","label":"moodle/moodle@c279475"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0983.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G4GRMWBGHOJMFXMTORECQNULJK7ZJJ6Y/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0983"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2064119"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/c2794752ea3cdda2d64a0651da08b2cdf730d9f1"},{"type":"WEB","url":"https://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74074"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G4GRMWBGHOJMFXMTORECQNULJK7ZJJ6Y"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:28.285068925Z"}}