# CVE-2023-30944: Moodle: minor sql injection risk in external wiki method for listing pages

- Severity: Medium 5.6 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:H/PR:N/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.14%, higher than 67% of CVEs (2026-12-01)
- Published: 2023-05-02T00:00:00.000Z
- Modified: 2026-09-10T03:49:53.766Z
- Also known as: GHSA-7mmc-22g7-3xq2, BIT-MOODLE-2023-30944
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## Description

The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in external Wiki method for listing pages. A remote attacker can send a specially crafted request to the affected application and execute limited SQL commands within the application database.

(As written by CVE List.)

## Affected

- moodle: from 4.1.0 before 4.1.3; from 4.0.0 before 4.0.8; from 3.11.0 before 3.11.14; before 3.9.21
- moodle/moodle (Packagist): before 4.2.0-rc2
- moodle moodle: from 3.9.0 before 3.9.21; from 3.11.0 before 3.11.14; from 4.0.0 before 4.0.8; from 4.1.0 before 4.1.3
- fedoraproject extra_packages_for_enterprise_linux: 7.0
- fedoraproject fedora: 36; 37; 38
- moodle (Bitnami): from 3.9.0 before 3.9.21; from 3.11.0 before 3.11.14; from 4.0.0 before 4.0.8; from 4.1.0 before 4.1.3

## Every score

- fedora: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Bitnami Vulnerability Database: rating High

## References

- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-77187> (fix, patch, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2188606> (advisory, issue-tracking, patch, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/54TM5H5PDUDYXOQ7X7PPYWP4AJDAE73I/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MZBWRVUJF7HI53XCJPJ3YJZPOV5HBRUY/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PBFSXRYLT4ICKJVQSRBAOUDMDRVSVBLS/> (vendor-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=446286> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-30944> (advisory, web)
- <https://github.com/moodle/moodle/commit/5521d1d6e8bb8bebb76ad8154095f6b18ea26e7f> (web)
- <https://github.com/moodle/moodle> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/54TM5H5PDUDYXOQ7X7PPYWP4AJDAE73I> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MZBWRVUJF7HI53XCJPJ3YJZPOV5HBRUY> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PBFSXRYLT4ICKJVQSRBAOUDMDRVSVBLS> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/54TM5H5PDUDYXOQ7X7PPYWP4AJDAE73I> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MZBWRVUJF7HI53XCJPJ3YJZPOV5HBRUY> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PBFSXRYLT4ICKJVQSRBAOUDMDRVSVBLS> (web)

## Sources

- CVE List: [CVE-2023-30944](https://www.cve.org/CVERecord?id=CVE-2023-30944), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-7mmc-22g7-3xq2](https://github.com/advisories/GHSA-7mmc-22g7-3xq2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-30944](https://nvd.nist.gov/vuln/detail/CVE-2023-30944), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2023-30944](https://osv.dev/vulnerability/BIT-MOODLE-2023-30944), Apache-2.0, modified 2026-09-08

---

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