CVE-2022-2986
HIGH 8.8CVSS 3.1Moodle Cross-Site Request Forgery (CSRF)
Enabling and disabling installed H5P libraries did not include the necessary token to prevent a CSRF risk.
- Published
- 6 Oct 2022
- Last modified
- 17 Jun 2026
- Assigned by
- patrick@puiterwijk.org
- NVD status
- Modified
- Weakness
- CWE-352
- Also known as
- BIT-moodle-2022-2986GHSA-xjr3-fwp9-9g96
- Sources
- NVDJSONOSV GHSA-xjr3-fwp9-9g96JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.11.0, < 3.11.9 | 3.11.9 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.0.3 | 4.0.3 |
| OSV | Packagist | moodle/moodle | >= 3.11, < 3.11.9 | 3.11.9 |
| OSV | Packagist | moodle/moodle | >= 4.0, < 4.0.3 | 4.0.3 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75326 · Patch, Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2121360 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-2986 · ADVISORY
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 6 Oct 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Oct 2022)