Skip to content
OpenAdvisories
High · 7.5 CVE-2026-133062 EUVD-2026-130335GHSA-f6vw-vgq2-wrhv

Moodle: sql injection in external database enrolment plugin

Published Nov 19, 2026 · Updated Nov 19, 2026 · Assigned by fedora

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 the connected external database.

Affected products

VendorProductAffectedFixed
— moodle < 4.5.16, 5.0.0 – < 5.1.0, 5.1.0 – < 5.1.9, 5.2.0 – < 5.2.5, 5.3.0 – < 5.3.1 4.5.16

Advisories 1

References