Original description
A flaw was found in Moodle. An authenticated attacker with access to the question bank web service can submit unsanitized input directly into database queries, resulting in a SQL (Structured Query Language) injection vulnerability. This issue could allow an attacker to view, alter, or delete sensitive data stored in the underlying database.
Affected software
- Moodle ≥ 5.1.0 < 5.1.6≥ 5.0.0 < 5.0.9< 4.5.13≥ 5.2.0 < 5.2.2 Fixed in: 5.1.6, 5.0.9, 4.5.13, 5.2.2 exact match
Details
- Published
- 2026-09-30
- Last modified
- 2026-10-01
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-89
- EPSS (30-day exploit probability)
- 0.34% (percentile 28)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.