# CVE-2023-28329: Moodle: authenticated sql injection via availability check

- Severity: Medium 6.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- 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): 1.20%, higher than 68% of CVEs (2026-12-01)
- Published: 2023-03-23T00:00:00.000Z
- Modified: 2026-09-08T08:48:14.834Z
- Also known as: GHSA-72w2-j52c-7682, BIT-MOODLE-2023-28329
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: fedora

## Description

Insufficient validation of profile field availability condition resulted in an SQL injection risk (by default only available to teachers and managers).

(As written by CVE List.)

## Affected

- moodle: from 4.1.0 before 4.1.2; from 4.0.0 before 4.0.7; from 3.11.0 before 3.11.13; before 3.9.20
- moodle moodle: from - before 3.9.20; from 3.11.0 before 3.11.13; from 4.0.0 before 4.0.7; from >3.9.0 before 3.9.20; from >3.11.0 before 3.11.13; from >4.0.0 before 4.0.7; 3.9.0; 3.11.0; 4.0.0; 4.1.0; 4.1.1
- moodle/moodle (Packagist): from 4.1.0 before 4.1.2; from 4.0.0 before 4.0.7; from 3.11.0 before 3.11.13; before 3.9.20
- moodle (Bitnami): from 3.9.0 before 3.9.20; from 3.11.0 before 3.11.13; from 4.0.0 before 4.0.7; from 4.1.0 before 4.1.2

## Every score

- CISA-ADP: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2179406> (issue-tracking, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF/> (vendor-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=445061> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28329> (advisory, web)
- <https://github.com/moodle/moodle/commit/81e74af17f419f7910f81279efecf5c7af09f38d> (web)
- <https://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-77046> (web)
- <https://github.com/moodle/moodle> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF> (web)

## Sources

- CVE List: [CVE-2023-28329](https://www.cve.org/CVERecord?id=CVE-2023-28329), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-72w2-j52c-7682](https://github.com/advisories/GHSA-72w2-j52c-7682), CC-BY-4.0, modified 2024-04-19
- NVD: [CVE-2023-28329](https://nvd.nist.gov/vuln/detail/CVE-2023-28329), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2023-28329](https://osv.dev/vulnerability/BIT-MOODLE-2023-28329), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-28329 · Whole record: https://cve.day/CVE-2023-28329.json · Rebuilt by cve.day 2026-11-25T22:58:22.626Z
