Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2026-133062

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

moodle

Default version status: unaffected

  • 0 to < 4.5.16affected
  • 5.0.0 to < 5.1.0affected
  • 5.1.0 to < 5.1.9affected
  • 5.2.0 to < 5.2.5affected
  • 5.3.0 to < 5.3.1affected

References