{"id":"GHSA-6jhm-4vmx-mr76","summary":"SQL injection in Moodle","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","CVE-2022-0332"],"modified":"2024-02-19T05:25:42.466186Z","published":"2022-01-28T22:08:14Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-01-26T22:49:44Z","nvd_published_at":"2022-01-25T20:15:00Z","cwe_ids":["CWE-89"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0332"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/c7a62a8c82219b50589257f79021da1df1a76808"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2043661"},{"type":"WEB","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=431099"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11"},{"fixed":"3.11.5"}]}],"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-6jhm-4vmx-mr76/GHSA-6jhm-4vmx-mr76.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}