# CVE-2023-28333: Moodle: pix helper potential mustache code injection risk

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.38%, higher than 72% of CVEs (2026-11-30)
- Published: 2023-03-23T00:00:00.000Z
- Modified: 2026-09-08T08:48:15.034Z
- Also known as: GHSA-q2x3-2f9g-h559, BIT-MOODLE-2023-28333
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: fedora

## Description

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).

(As written by CVE List.)

## Affected

- moodle: from 4.1.0 before 4.1.2; from 4.0.0 before 4.0.7; from 3.11.0 before 3.11.13; before 3.9.20
- moodle/moodle (Packagist): from 4.1.0 before 4.1.2; from 4.0.0 before 4.0.7; from 3.11.0 before 3.11.13; before 3.9.20
- moodle moodle: from >3.9.0 before 3.9.20; from >3.11.0 before 3.11.13; from >4.0.0 before 4.0.7; 3.9.0; 3.11.0; 4.0.0; 4.1.0; 4.1.1
- fedoraproject fedora: 36
- moodle (Bitnami): from 3.9.0 before 3.9.20; from 3.11.0 before 3.11.13; from 4.0.0 before 4.0.7; from 4.1.0 before 4.1.2

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2179422> (issue-tracking, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF/> (vendor-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=445065> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28333> (advisory, web)
- <https://github.com/moodle/moodle/commit/128c0c21607a71f411611a0104b2a8c858dd6fca> (web)
- <https://git.moodle.org/gw?p=moodle.git;a=commitdiff;h=128c0c21607a71f411611a0104b2a8c858dd6fca> (web)
- <https://github.com/moodle/moodle> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3QZN34VSF4HTCW3C3ZP2OZYSLYUKADPF> (web)

## Sources

- CVE List: [CVE-2023-28333](https://www.cve.org/CVERecord?id=CVE-2023-28333), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-q2x3-2f9g-h559](https://github.com/advisories/GHSA-q2x3-2f9g-h559), CC-BY-4.0, modified 2024-04-19
- NVD: [CVE-2023-28333](https://nvd.nist.gov/vuln/detail/CVE-2023-28333), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2023-28333](https://osv.dev/vulnerability/BIT-MOODLE-2023-28333), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-28333 · Whole record: https://cve.day/CVE-2023-28333.json · Rebuilt by cve.day 2026-11-25T22:58:22.628Z
