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

CVE-2024-33997: Moodle stored Cross-site Scripting (XSS)

May 31, 2024 (updated June 4, 2024)

Additional sanitizing was required when opening the equation editor to prevent a stored Cross-site Scripting (XSS) risk when editing another user’s equation.

References

  • github.com/advisories/GHSA-9qgq-93c7-9hm4
  • github.com/moodle/moodle
  • moodle.org/mod/forum/discuss.php?d=458385
  • nvd.nist.gov/vuln/detail/CVE-2024-33997

Code Behaviors & Features

Detect and mitigate CVE-2024-33997 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.

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

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