Live threats

All CVEs / Moodle

CVE-2022-40316Moodle

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
0.7%
probability of exploitation in 30 days · percentile 51
Auth required
Yes
Published
Sep 30, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

The H5P activity attempts report did not filter by groups, which in separate groups mode could reveal information to non-editing teachers about attempts/users in groups they should not have access to.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist moodle/moodle ≥ 3.9 < 3.9.17 3.9.17 composer require "moodle/moodle:^3.9.17"
Packagist moodle/moodle ≥ 3.11 < 3.11.10 3.11.10 composer require "moodle/moodle:^3.11.10"
Packagist moodle/moodle ≥ 4.0 < 4.0.4 4.0.4 composer require "moodle/moodle:^4.0.4"

Per OSV / GitHub Advisories (GHSA-385f-vgq7-8hhx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle≥ 3.9.0 < 3.9.17
moodlemoodle≥ 3.11.0 < 3.11.10
moodlemoodle≥ 4.0.0 < 4.0.4
fedoraprojectextra_packages_for_enterprise_linux8.0
fedoraprojectfedora35
fedoraprojectfedora36

Official sources

References

Links published by the sources. Open them with care.