{"id":"GHSA-6jhm-4vmx-mr76","aliases":["BIT-moodle-2022-0332","CVE-2022-0332"],"title":"SQL injection in Moodle","description":"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.","severity":"critical","score":9.8,"published":"2022-01-28T22:08:14.000Z","modified":"2024-02-19T05:25:42.466Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.11"},{"fixed":"3.11.5"}],"type":"ECOSYSTEM"}],"versions":["v3.11.0","v3.11.0-beta","v3.11.0-rc1","v3.11.0-rc2","v3.11.1","v3.11.2","v3.11.3","v3.11.4"],"fixed":["3.11.5"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-0332","https://github.com/moodle/moodle/commit/c7a62a8c82219b50589257f79021da1df1a76808","https://bugzilla.redhat.com/show_bug.cgi?id=2043661","https://github.com/moodle/moodle","https://moodle.org/mod/forum/discuss.php?d=431099"],"sources":[{"name":"OSV","id":"GHSA-6jhm-4vmx-mr76","modified":"2024-02-19T05:25:42.466186Z","url":"https://osv.dev/vulnerability/GHSA-6jhm-4vmx-mr76"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}]}