Live threats

All CVEs / Moodle

CVE-2024-34006Moodle

Medium 4.3 No auth needed

Priority
41
CVSS 3.1
4.3
EPSS
0.6%
probability of exploitation in 30 days · percentile 42
Auth required
No
Published
May 31, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-838
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

What happens

The site log report required additional encoding of event descriptions to ensure any HTML in the content is displayed in plaintext instead of being rendered.

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-vvh5-7v3m-j3mj). 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.