Live threats

All CVEs / Moodle

CVE-2022-30596Moodle

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.8%
probability of exploitation in 30 days · percentile 55
Auth required
Yes
Published
May 18, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

A flaw was found in moodle where ID numbers displayed when bulk allocating markers to assignments required additional sanitizing to prevent a stored XSS risk.

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 ≥ 4.0 < 4.0.1 4.0.1 composer require "moodle/moodle:^4.0.1"
Packagist moodle/moodle ≥ 3.11 < 3.11.7 3.11.7 composer require "moodle/moodle:^3.11.7"
Packagist moodle/moodle ≥ 3.10 < 3.10.11 3.10.11 composer require "moodle/moodle:^3.10.11"
Packagist moodle/moodle ≥ 3.9 < 3.9.14 3.9.14 composer require "moodle/moodle:^3.9.14"

Per OSV / GitHub Advisories (GHSA-wvh5-78h5-gmgr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle≥ 3.9 < 3.9.14
moodlemoodle≥ 3.10 < 3.10.11
moodlemoodle≥ 3.11 < 3.11.7
moodlemoodle4.0.0
redhatenterprise_linux8.0
fedoraprojectfedora34
fedoraprojectfedora35
fedoraprojectfedora36

Official sources

References

Links published by the sources. Open them with care.