{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-133062","id":"CVE-2026-133062","title":"Moodle SQL injection in external database enrolment plugin","description":"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 t","descriptionLong":"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.","published":"2026-11-19T15:30:58.641Z","updated":"2026-11-19T21:45:21.106342768Z","reserved":"2026-11-19T11:40:02.638Z","status":"Received","rejected":false,"assigner":"fedora","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"fedora"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"fedora"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"puiterwijk.org"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["moodle"],"affectedProducts":[{"vendor":"","product":"moodle","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThan":"4.5.16","versionType":"semver"},{"status":"affected","version":"5.0.0","lessThan":"5.1.0","versionType":"semver"},{"status":"affected","version":"5.1.0","lessThan":"5.1.9","versionType":"semver"},{"status":"affected","version":"5.2.0","lessThan":"5.2.5","versionType":"semver"},{"status":"affected","version":"5.3.0","lessThan":"5.3.1","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-89"],"aliases":[],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-133062","tags":["vdb-entry","x_refsource_REDHAT","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2576520","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://github.com/moodle/moodle/commit/2547dea31069f97e762f8e2ae68a96d329867b5f","tags":["fix"]},{"url":"https://github.com/moodle/moodle/commit/bf8f2215bdd0bd53fde1773b64a354a95fa666dc","tags":["fix"]},{"url":"https://github.com/moodle/moodle/commit/e2767bf3924756d58c63b53c9d11b818f70914c1","tags":["fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133062.json","tags":["advisory"]},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133062","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00481,"epssPercentile":0.42421,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-133062","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133062","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-133062","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-133062","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}