{"id":"CVE-2022-0332","details":"A flaw was found in Moodle in versions 3.11 to 3.11.4. An SQL injection risk was identified in the h5p activity web service responsible for fetching user attempt data.","aliases":["BIT-moodle-2022-0332","GHSA-6jhm-4vmx-mr76"],"modified":"2026-08-12T03:51:48.176287624Z","published":"2022-01-25T19:11:10Z","database_specific":{"cna_assigner":"fedora","cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0332.json","unresolved_ranges":[{"extracted_events":[{"introduced":"moodle 3.11.5"},{"last_affected":"moodle 3.11.5"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=431099"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0332.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0332"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2043661"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moodle/moodle","events":[{"introduced":"94f2d3fc4b974c5c7d500988c56b7ca15f58d7ec"},{"fixed":"a59bec2a6f3c093ebe3b8eb0316c07188a4a339e"}],"database_specific":{"cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.11.0"},{"fixed":"3.11.5"}],"source":"CPE_RANGE"}}],"versions":["v3.11.4","v3.11.3","v3.11.1","v3.11.2","v3.11.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0332.json"}}],"schema_version":"1.9.0"}