# CVE-2020-25700: SQL Injection in moodle

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- 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.34%, higher than 72% of CVEs (2026-12-01)
- Published: 2020-11-19T16:25:09.000Z
- Modified: 2026-09-08T08:48:14.433Z
- Also known as: GHSA-7h8v-2v8x-h264, BIT-MOODLE-2020-25700
- Weaknesses: CWE-89
- Assigned by: redhat

## Description

In moodle, some database module web services allowed students to add entries within groups they did not belong to. Versions affected: 3.9 to 3.9.2, 3.8 to 3.8.5, 3.7 to 3.7.8, 3.5 to 3.5.14 and earlier unsupported versions. This is fixed in moodle 3.8.6, 3.7.9, 3.5.15, and 3.10.

(As written by CVE List.)

## Affected

- moodle: Fixed in 3.9.3; Fixed in 3.8.6; Fixed in 3.7.9; Fixed in 3.5.15; Fixed in 3.10
- moodle/moodle (Packagist): from 3.9.0 before 3.9.3; from 3.8.0 before 3.8.6; from 3.7.0 before 3.7.9; from 3.5.0 before 3.5.15
- moodle moodle: from 3.5.0 up to 3.5.14; from 3.7.0 up to 3.7.8; from 3.8.0 up to 3.8.5; from 3.9.0 up to 3.9.2
- fedoraproject fedora: 32; 33
- moodle (Bitnami): from 3.5.0 before 3.5.15; from 3.7.0 before 3.7.9; from 3.8.0 before 3.8.6; from 3.9.0 before 3.9.3

## Every score

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

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1895427> (advisory, issue-tracking, third-party-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=413938> (advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25700> (advisory, web)
- <https://github.com/moodle/moodle/commit/8169aeff59d8ed910ca3545413561005282bbd32> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6> (web)

## Sources

- CVE List: [CVE-2020-25700](https://www.cve.org/CVERecord?id=CVE-2020-25700), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-7h8v-2v8x-h264](https://github.com/advisories/GHSA-7h8v-2v8x-h264), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2020-25700](https://nvd.nist.gov/vuln/detail/CVE-2020-25700), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2020-25700](https://osv.dev/vulnerability/BIT-MOODLE-2020-25700), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-25700 · Whole record: https://cve.day/CVE-2020-25700.json · Rebuilt by cve.day 2026-11-25T22:57:55.881Z
