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
CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-89 |
| Vendor | moodle project |
| Product | moodle |
| Published | Oct 30, 2026 |
Stay Ahead of the Next One
Get instant alerts for moodle project moodle
Be the first to know when new medium vulnerabilities affecting moodle project moodle are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
Affected Versions
Moodle Project / moodle
5.3.0 5.2.0 โค 5.2.4 5.1.0 โค 5.1.8 5.0.0 โค 5.0.11 0 โค 4.5.15
References
github.com: https://github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L918-L926 github.com: https://github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L971-L979 github.com: https://github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L527-L528 abraxaslabs.tech: https://abraxaslabs.tech/research/moodle-enrol-database-sqli github.com: https://github.com/moodle/moodle vulncheck.com: https://www.vulncheck.com/advisories/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
Credits
Abraxas Labs