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
Impact
Moodle versions 5.3.0, 5.2.0-5.2.4, 5.1.0-5.1.8, 5.0.0-5.0.11, and 4.5.15 contain a SQL injection vulnerability in the External database enrolment plugin via course idnumber. Editing teachers can exploit this. The impact is reading data and manipulating enrolment results.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
Moodle Project · VulnCheck
moodle
5 ranges
Moodle Project · VulnCheck
moodle
Package identity
pkg:github/moodle/moodleIdentity supplied by VulnCheck. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
5.3.0
semver versions
5.2.0 → through 5.2.4
semver versions
5.1.0 → through 5.1.8
semver versions
5.0.0 → through 5.0.11
semver versions
0 → through 4.5.15
semver versions
Other versions: unaffected
Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-119554View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
VulnCheck · platform conditions
Any condition may hold
Vulnerable product
cpe:2.3:a:moodle:moodle:5.3.0:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*From (inclusive): 5.2.0
Through (inclusive): 5.2.4
Vulnerable product
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*From (inclusive): 5.1.0
Through (inclusive): 5.1.8
Vulnerable product
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*From (inclusive): 5.0.0
Through (inclusive): 5.0.11
Vulnerable product
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*Through (inclusive): 4.5.15
Original applicability statements
[
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:moodle:moodle:5.3.0:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.2.0",
"versionEndIncluding": "5.2.4"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.1.0",
"versionEndIncluding": "5.1.8"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.0.0",
"versionEndIncluding": "5.0.11"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*",
"versionEndIncluding": "4.5.15"
}
]
}
]
}
]Contributing organizations · 1
Assigning organization
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.