CVE-2026-119554
mediumMoodle 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 databas…
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.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://abraxaslabs.tech/research/moodle-enrol-database-sqli disclosure@vulncheck.com
- https://github.com/moodle/moodle disclosure@vulncheck.com
- https://github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L527-L528 disclosure@vulncheck.com
- https://github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L918-L926 disclosure@vulncheck.com
- https://github.com/moodle/moodle/blob/v5.3.0/public/enrol/database/lib.php#L971-L979 disclosure@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-sq... disclosure@vulncheck.com
