CVE-2022-2986Moodle
High 8.8 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 38
- Auth required
- No
- Published
- Oct 6, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-352
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
Enabling and disabling installed H5P libraries did not include the necessary token to prevent a CSRF risk.
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 3.11 < 3.11.9 |
3.11.9 |
composer require "moodle/moodle:^3.11.9" |
| Packagist | moodle/moodle |
≥ 4.0 < 4.0.3 |
4.0.3 |
composer require "moodle/moodle:^4.0.3" |
Per OSV / GitHub Advisories (GHSA-xjr3-fwp9-9g96). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≥ 3.11.0 < 3.11.9 |
| moodle | moodle | ≥ 4.0.0 < 4.0.3 |
Official sources
References
Links published by the sources. Open them with care.
- git.moodle.org Patch Vendor Advisory
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory