CVE
CVE-2022-30599
publishedmoodle: SQL injection risk in badge award criteria
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | moodleAffects : 4.0, 3.11 to 3.11.6, 3.10 to 3.10.10, 3.9 to 3.9.13 and earlier unsupported versions | Affected | Not stated | fedora |
Description
A flaw was found in moodle where an SQL injection risk was identified in Badges code relating to configuring criteria.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | moodle | Affects : 4.0, 3.11 to 3.11.6, 3.10 to 3.10.10, 3.9 to 3.9.13 and earlier unsupported versions (affected) | fedora · cna |
Weaknesses
1- CWE-89 CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
6- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74333
- https://bugzilla.redhat.com/show_bug.cgi?id=2083610
- FEDORA-2022-bd4457bcc4 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGF35EN5K2R6X3NTY3XPZSJ3UDASMXI6/
- FEDORA-2022-89bfefbe48 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PIMSIRKCFLIC646K4GMUSZU7THOUVPAJ/
- FEDORA-2022-530fdc5202 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCTWSE3JDMSYL7DPCMXMMJEXZSS6VIA5/
- https://moodle.org/mod/forum/discuss.php?d=434581
Provider assertions
2fedora · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8292d1f77799f31d17e0b6ec3bbe94f328801bb624f183b1bdb9d4beadd34789
- Ingested
- 23 Sep 2026, 08:00:17 UTC
- Source record
- Official CVE record