Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2024-34006

CVE-2024-34006: Moodle Unsanitized HTML in site log for config_log_created

May 31, 2024 (updated June 4, 2024)

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.

References

  • github.com/advisories/GHSA-vvh5-7v3m-j3mj
  • github.com/moodle/moodle
  • moodle.org/mod/forum/discuss.php?d=458395
  • nvd.nist.gov/vuln/detail/CVE-2024-34006

Code Behaviors & Features

Detect and mitigate CVE-2024-34006 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.10, all versions starting from 4.2.0 before 4.2.7, all versions starting from 4.3.0 before 4.3.4

Fixed versions

  • 4.3.4
  • 4.2.7
  • 4.1.10

Solution

Upgrade to versions 4.1.10, 4.2.7, 4.3.4 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-838: Inappropriate Encoding for Output Context

Source file

packagist/moodle/moodle/CVE-2024-34006.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:16 +0000.