Live threats

All CVEs / Moodle

CVE-2022-0984Moodle

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
0.6%
probability of exploitation in 30 days · percentile 41
Auth required
Yes
Published
Apr 29, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

What happens

Users with the capability to configure badge criteria (teachers and managers by default) were able to configure course badges with profile field criteria, which should only be available for site badges.

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.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-c5hf-mc85-2hx4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle≥ 3.9.0 < 3.9.13
moodlemoodle≥ 3.10.0 < 3.10.10
moodlemoodle≥ 3.11.0 < 3.11.6
fedoraprojectfedora34
fedoraprojectfedora35
fedoraprojectfedora36
redhatenterprise_linux7.0

Official sources

References

Links published by the sources. Open them with care.