High severity · published Mar 11, 2022
CVE-2021-32474
An SQL injection risk existed on sites with MNet enabled and configured, via an XML-RPC call from the connected peer host
7.2
CVSS
0.9%
EPSS
No
On KEV
Description
An SQL injection risk existed on sites with MNet enabled and configured, via an XML-RPC call from the connected peer host. Note that this required site administrator access or access to the keypair. Moodle 3.10 to 3.10.3, 3.9 to 3.9.6, 3.8 to 3.8.8, 3.5 to 3.5.17 and earlier unsupported versions are affected.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 60% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MO
Moodle · Moodle
before 3.5.18; 3.8.0 before 3.8.9; 3.9.0 before 3.9.7; 3.10.0 before 3.10.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-32474
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-32474
Patch
https://moodle.org/mod/forum/discuss.php?d=422308
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
A flaw was found in Moodle
9.8
CVE-2025-26533
An SQL injection risk was identified in the module list filter within course search
9.8
CVE-2024-33999
The referrer URL used by MFA required additional sanitizing, rather than being used directly
9.8
CVE-2023-5550
In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user who also has direct access to the web server outside of the…
