Live threats

All CVEs / Moodle

CVE-2022-2986Moodle

High 8.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
moodlemoodle≥ 3.11.0 < 3.11.9
moodlemoodle≥ 4.0.0 < 4.0.3

Official sources

References

Links published by the sources. Open them with care.