SQL Injection in Moodle
CVE-2026-102578
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 27.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- caveeroo/CVE-2026-102578 (10 stars, last pushed 2026-10-20): Proof of concept for CVE-2026-102578, a Moodle question-bank SQL injection
References
- git.moodle.org/gw (Patch)
- access.redhat.com/security/cve/CVE-2026-102578 (Third Party Advisory, vdb-entry)
- RHBZ#2543632 (issue-tracking, Third Party Advisory, Issue Tracking)
- moodle.org/mod/forum/discuss.php (Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.