CVE-2023-28333Moodle
Critical 9.8 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Mar 23, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
The Mustache pix helper contained a potential Mustache injection risk if combined with user input (note: This did not appear to be implemented/exploitable anywhere in the core Moodle LMS).
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 4.1.0 < 4.1.2 |
4.1.2 |
composer require "moodle/moodle:^4.1.2" |
| Packagist | moodle/moodle |
≥ 4.0.0 < 4.0.7 |
4.0.7 |
composer require "moodle/moodle:^4.0.7" |
| Packagist | moodle/moodle |
≥ 3.11.0 < 3.11.13 |
3.11.13 |
composer require "moodle/moodle:^3.11.13" |
| Packagist | moodle/moodle |
< 3.9.20 |
3.9.20 |
composer require "moodle/moodle:^3.9.20" |
Per OSV / GitHub Advisories (GHSA-q2x3-2f9g-h559). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | > 3.9.0 < 3.9.20 |
| moodle | moodle | > 3.11.0 < 3.11.13 |
| moodle | moodle | > 4.0.0 < 4.0.7 |
| moodle | moodle | 3.9.0 |
| moodle | moodle | 3.11.0 |
| moodle | moodle | 4.0.0 |
| moodle | moodle | 4.1.0 |
| moodle | moodle | 4.1.1 |
| fedoraproject | fedora | 36 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com
- lists.fedoraproject.org
- moodle.org Patch Vendor Advisory