{"id":"CVE-2026-133062","aliases":[],"title":"Moodle: sql injection in external database enrolment plugin","originalDescription":"A flaw was found in Moodle's external database enrolment plugin. Insufficient sanitization of data passed to queries against the external database allows an authenticated user with course editing permissions to perform a Structured Query Language (SQL) injection attack. When this non-default plugin is enabled, an attacker can exploit this issue to view, modify, or delete sensitive records within the connected external database.","severity":{"cvss":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00481,"percentile":0.43191},"exploitDb":null},"affected":[{"ecosystem":"unknown","name":"moodle","range":">=0, <4.5.16","fixed":"4.5.16"},{"ecosystem":"unknown","name":"moodle","range":">=5.0.0, <5.1.0","fixed":"5.1.0"},{"ecosystem":"unknown","name":"moodle","range":">=5.1.0, <5.1.9","fixed":"5.1.9"},{"ecosystem":"unknown","name":"moodle","range":">=5.2.0, <5.2.5","fixed":"5.2.5"},{"ecosystem":"unknown","name":"moodle","range":">=5.3.0, <5.3.1","fixed":"5.3.1"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-133062","type":"vdb-entry"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2576520","type":"issue-tracking"},{"url":"https://github.com/moodle/moodle/commit/2547dea31069f97e762f8e2ae68a96d329867b5f","type":"other"},{"url":"https://github.com/moodle/moodle/commit/bf8f2215bdd0bd53fde1773b64a354a95fa666dc","type":"other"},{"url":"https://github.com/moodle/moodle/commit/e2767bf3924756d58c63b53c9d11b818f70914c1","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T16:29:19.681Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133062","license":"NVD terms of use","firstSeenAt":"2026-11-19T16:50:09.916Z"},{"name":"cvelistV5","at":"2026-11-19T22:17:46.762Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-133062","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T16:15:12.668Z"}],"firstSeenAt":"2026-11-19T16:15:12.668Z","publishedAt":"2026-11-19T15:30:58.641Z","modifiedAt":"2026-11-23T16:24:48.897Z"}