Critical severity · published Jan 25, 2022
CVE-2022-0332
A flaw was found in Moodle in versions 3.11 to 3.11.4
9.8
CVSS
44%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)44.0% · higher than 99% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MO
Moodle · Moodle
3.11.0 before 3.11.5 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-0332
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-0332
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2043661
Patch
https://moodle.org/mod/forum/discuss.php?d=431099
More from Moodle
10.0
CVE-2019-3809
A flaw was found in Moodle versions 3.1 to 3.1.15 and earlier unsupported versions
9.8
CVE-2025-67856
Moodle: moodle: privilege escalation via incomplete role checks in badge awarding
9.8
CVE-2025-26533
SQL injection risk in course search module list filter
9.8
CVE-2024-33999
moodle: unsafe direct use of $_SERVER['HTTP_REFERER'] in admin/tool/mfa/index.php
9.8
CVE-2023-5550
Moodle: rce due to lfi risk in some misconfigured shared hosting environments
