Skip to content

CVE-2026-119554 Moodle through 5.3.0, 5.2.4, 5.1.8, 5.0.11 and 4.5.15 SQL Injection via enrol_database Course idnumber

MediumCVSS 6.0 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known

Description

Moodle 5.3.0, 5.2.0 through 5.2.4, 5.1.0 through 5.1.8, 5.0.0 through 5.0.11, and through 4.5.15 contain an sql injection vulnerability in the External database enrolment plugin via course idnumber. Editing teachers can store a backslash-quote payload in idnumber that executes during scheduled sync on MySQL/MariaDB external databases, reading data and manipulating enrolment results.

Affected products

ProductAffected versionsFixed in
moodle/moodle = 5.3.0 No fix listed
moodle/moodle >= 5.2.0, <= 5.2.4 No fix listed
moodle/moodle >= 5.1.0, <= 5.1.8 No fix listed
moodle/moodle >= 5.0.0, <= 5.0.11 No fix listed
moodle/moodle <= 4.5.15 No fix listed

References