Live threats

All CVEs / Moodle

CVE-2021-36399Moodle

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.5%
probability of exploitation in 30 days · percentile 37
Auth required
Yes
Published
Mar 6, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

In Moodle, ID numbers displayed in the quiz override screens 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 ≥ 3.11.0-beta < 3.11.1 3.11.1 composer require "moodle/moodle:^3.11.1"
Packagist moodle/moodle ≥ 3.10.0-beta < 3.10.5 3.10.5 composer require "moodle/moodle:^3.10.5"
Packagist moodle/moodle < 3.9.8 3.9.8 composer require "moodle/moodle:^3.9.8"

Per OSV / GitHub Advisories (GHSA-79jp-m64f-pgrc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle3.11.0

Official sources

References

Links published by the sources. Open them with care.