Skip to content
DayZeroHub
High Not yet writtenCVSS 7.5CVE-2026-133062

CVE-2026-133062: Moodle: sql injection in external database enrolment plugin

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133062: high-severity vulnerability (CVSS 7.5).

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.5.

Affected products and versions

moodle < 4.5.16; moodle >= 5.0.0, < 5.1.0; moodle >= 5.1.0, < 5.1.9; moodle >= 5.2.0, < 5.2.5; moodle >= 5.3.0, < 5.3.1

ProductVersionsFixed in
moodle< 4.5.16—
moodle>= 5.0.0, < 5.1.0—
moodle>= 5.1.0, < 5.1.9—
moodle>= 5.2.0, < 5.2.5—
moodle>= 5.3.0, < 5.3.1—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-89

Relevant change history

  1. Published

    Preliminary advisory published.