# CVE-2021-32474: Moodle Blind SQL injection possible via MNet authentication

- Severity: High 7.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 61% of CVEs (2026-12-01)
- Published: 2022-03-11T17:54:25.000Z
- Modified: 2026-09-08T08:48:14.527Z
- Also known as: GHSA-rvmc-8gmg-ggqr, BIT-MOODLE-2021-32474
- Weaknesses: CWE-89
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- 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
- moodle/moodle (Packagist): from 3.10 before 3.10.4; from 3.9 before 3.9.7; from 3.8 before 3.8.9; from 3.5 before 3.5.18
- moodle moodle: before 3.5.18; from 3.8.0 before 3.8.9; from 3.9.0 before 3.9.7; from 3.10.0 before 3.10.4
- moodle (Bitnami): before 3.5.18; from 3.8.0 before 3.8.9; from 3.9.0 before 3.9.7; from 3.10.0 before 3.10.4

## Every score

- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://moodle.org/mod/forum/discuss.php?d=422308> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32474> (advisory, web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2021-32474](https://www.cve.org/CVERecord?id=CVE-2021-32474), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-rvmc-8gmg-ggqr](https://github.com/advisories/GHSA-rvmc-8gmg-ggqr), CC-BY-4.0, modified 2024-04-23
- NVD: [CVE-2021-32474](https://nvd.nist.gov/vuln/detail/CVE-2021-32474), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2021-32474](https://osv.dev/vulnerability/BIT-MOODLE-2021-32474), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-32474 · Whole record: https://cve.day/CVE-2021-32474.json · Rebuilt by cve.day 2026-11-25T22:58:07.176Z
