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

CVE-2023-28333: Moodle's Mustache pix helper contained a potential Mustache injection risk if combined with user input

March 23, 2023 (updated November 9, 2023)

The Mustache pix helper contained a potential Mustache injection risk if combined with user input (note: This does not appear to be implemented/exploitable anywhere in the core Moodle LMS).

References

  • git.moodle.org/gw?p=moodle.git;a=commitdiff;h=128c0c21607a71f411611a0104b2a8c858dd6fca
  • github.com/advisories/GHSA-q2x3-2f9g-h559
  • github.com/moodle/moodle/commit/128c0c21607a71f411611a0104b2a8c858dd6fca
  • moodle.org/mod/forum/discuss.php?d=445065
  • nvd.nist.gov/vuln/detail/CVE-2023-28333

Code Behaviors & Features

Detect and mitigate CVE-2023-28333 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 from 3.9.0 before 3.9.19, all versions from 3.11.0 before 3.11.13, all versions from 4.0.0 before 4.0.7, all versions from 4.1.2 before 4.1.2

Fixed versions

  • 4.1.2
  • 4.0.7
  • 3.11.13
  • 3.9.20

Solution

Upgrade to versions 3.9.20, 3.11.13, 4.0.7, 4.1.2, or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/moodle/moodle/CVE-2023-28333.yml

Spotted a mistake? Edit the file on GitLab.

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

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