CVE-2022-0983Moodle
High 8.8
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 58
- Auth required
- Yes
- Published
- Mar 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
An SQL injection risk was identified in Badges code relating to configuring criteria. Access to the relevant capability was limited to teachers and managers by default.
What to do
- Apply the vendor's security update for Moodle.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 3.11.0 < 3.11.6 |
3.11.6 |
composer require "moodle/moodle:^3.11.6" |
| Packagist | moodle/moodle |
≥ 3.10.0 < 3.10.10 |
3.10.10 |
composer require "moodle/moodle:^3.10.10" |
| Packagist | moodle/moodle |
< 3.9.13 |
3.9.13 |
composer require "moodle/moodle:^3.9.13" |
Per OSV / GitHub Advisories (GHSA-h2fw-93qx-vrcq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≥ 3.9.0 < 3.9.13 |
| moodle | moodle | ≥ 3.10.0 < 3.10.10 |
| moodle | moodle | ≥ 3.11.0 < 3.11.6 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
| fedoraproject | extra_packages_for_enterprise_linux | 7.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- lists.fedoraproject.org