{"id":"CVE-2020-25700","aliases":["CVE-2020-25700","GHSA-7h8v-2v8x-h264","BIT-MOODLE-2020-25700"],"related":[],"kind":"vulnerability","state":"published","title":"SQL Injection in moodle","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En moodle, algunos servicios web de módulos de base de datos permitían a estudiantes agregar entradas dentro de grupos a los que no pertenecían.&#xa0;Versiones afectadas: 3.9 hasta 3.9.2, 3.8 hasta 3.8.5, 3.7 hasta 3.7.8, 3.5 hasta 3.5.14 y versiones anteriores no compatibles.&#xa0;Esto está corregido en moodle 3.8.6, 3.7.9, 3.5.15 y 3.10","source":"nvd"}],"published":"2020-11-19T16:25:09.000Z","modified":"2026-09-08T08:48:14.433Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","score":4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"Fixed in 3.9.3","status":"affected"},{"version":"Fixed in 3.8.6","status":"affected"},{"version":"Fixed in 3.7.9","status":"affected"},{"version":"Fixed in 3.5.15","status":"affected"},{"version":"Fixed in 3.10","status":"affected"}],"product":"moodle","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.9.0","status":"affected","fixed":"3.9.3"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.8.0","status":"affected","fixed":"3.8.6"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.7.0","status":"affected","fixed":"3.7.9"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.5.0","status":"affected","fixed":"3.5.15"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.5.0","lastAffected":"3.5.14"},{"status":"affected","introduced":"3.7.0","lastAffected":"3.7.8"},{"status":"affected","introduced":"3.8.0","lastAffected":"3.8.5"},{"status":"affected","introduced":"3.9.0","lastAffected":"3.9.2"}],"vendor":"moodle","product":"moodle","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"32"},{"status":"affected","version":"33"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"3.5.0","status":"affected","fixed":"3.5.15"},{"type":"semver","introduced":"3.7.0","status":"affected","fixed":"3.7.9"},{"type":"semver","introduced":"3.8.0","status":"affected","fixed":"3.8.6"},{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.3"}],"ecosystem":"Bitnami","package":"moodle","purl":"pkg:bitnami/moodle","source":"bitnami"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1895427","tags":["advisory","issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=413938","tags":["advisory","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25700","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/moodle/moodle/commit/8169aeff59d8ed910ca3545413561005282bbd32","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-25700","url":"https://www.cve.org/CVERecord?id=CVE-2020-25700","licence":"CVE Terms of Use","modified":"2024-08-04T15:40:36.584Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7h8v-2v8x-h264","url":"https://github.com/advisories/GHSA-7h8v-2v8x-h264","licence":"CC-BY-4.0","modified":"2024-02-16T08:01:33.744Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-25700","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25700","licence":"Public domain","modified":"2026-06-17T03:07:09.250Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MOODLE-2020-25700","url":"https://osv.dev/vulnerability/BIT-MOODLE-2020-25700","licence":"Apache-2.0","modified":"2026-09-08T08:48:14.433Z"}],"updatedAt":"2026-11-25T22:57:55.881Z","epss":{"score":0.01345,"percentile":0.72219,"date":"2026-12-01T12:00:22.000Z"}}