CVE-2026-102578

Moodle: sql injection in question bank web service

State
Published
Severity
5.5 Medium
Published
Sep 30, 2026
Updated
Sep 30, 2026
Reserved
Sep 29, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:Nfedora

Weaknesses

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Affected Products

ProductVersions
moodle
  • 5.2.0 to before 5.2.2Affected
  • 5.1.0 to before 5.1.6Affected
  • 5.0.0 to before 5.0.9Affected
  • before 4.5.13Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.