Live threats

All CVEs / Moodle

CVE-2024-33997Moodle

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.6%
probability of exploitation in 30 days · percentile 43
Auth required
No
Published
May 31, 2024
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:N/UI:R/S:C/C:L/I:L/A:N

What happens

Additional sanitizing was required when opening the equation editor to prevent a stored XSS risk when editing another user's equation.

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 ≥ 4.3.0 < 4.3.4 4.3.4 composer require "moodle/moodle:^4.3.4"
Packagist moodle/moodle ≥ 4.2.0 < 4.2.7 4.2.7 composer require "moodle/moodle:^4.2.7"
Packagist moodle/moodle < 4.1.10 4.1.10 composer require "moodle/moodle:^4.1.10"

Per OSV / GitHub Advisories (GHSA-9qgq-93c7-9hm4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle< 4.1.10
moodlemoodle≥ 4.2.0 < 4.2.7
moodlemoodle≥ 4.3.0 < 4.3.4

Official sources

References

Links published by the sources. Open them with care.