CVE-2023-28333 — Vulnerability in moodle/moodle — CVE Details
Moodle's Mustache pix helper contained a potential Mustache injection risk if combined with user input
Summary
Advisory Timeline
- First published March 23, 2023 (1299 days ago).
- Last revised April 19, 2024 — 393 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "moodle/moodle:^4.1.2"
composer require "moodle/moodle:^3.11.13"
composer require "moodle/moodle:^3.9.20"
composer require "moodle/moodle:^4.0.7"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| moodle/moodle | packagist | v4.1.0, v4.1.1 | 4.1.2 |
| moodle/moodle | packagist | v3.11.0, v3.11.1, v3.11.10, v3.11.11 (+9 more) | 3.11.13 |
| moodle/moodle | packagist | v2.3.10, v2.3.11, v2.3.4, v2.3.5 (+263 more) | 3.9.20 |
| moodle/moodle | packagist | v4.0.0, v4.0.1, v4.0.2, v4.0.3 (+3 more) | 4.0.7 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-28333ADVISORY
- https://github.com/moodle/moodle/commit/128c0c21607a71f411611a0104b2a8c858dd6fcaWEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2179422WEB
- https://git.moodle.org/gw?p=moodle.git;a=commitdiff;h=128c0c21607a71f411611a0104b2a8c858dd6fcaWEB
- https://github.com/moodle/moodlePACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPFWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPFWEB
- https://moodle.org/mod/forum/discuss.php?d=445065WEB
Frequently Asked Questions
- What is CVE-2023-28333?
- Moodle's Mustache pix helper contained a potential Mustache injection risk if combined with user input This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2023-28333?
- CVE-2023-28333 affects moodle/moodle. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-28333 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2021-36394CRITICAL
Moodle Session Fixation vulnerability
- CVE-2022-40314CRITICAL
Moodle remote code execution
- CVE-2022-30600CRITICAL
Incorrect Calculation in moodle
- CVE-2017-2641CRITICAL
Moodle SQL injection via user preferences
- CVE-2022-35649CRITICAL
Moodle PostScript Code Injection
- CVE-2025-26525HIGH
Moodle has an arbitrary file read risk through pdfTeX
- CVE-2025-26529HIGH
Moodle has a stored XSS risk in admin live log
- CVE-2025-67847HIGH
Moodle affected by a code injection vulnerability
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies