Original description
A vulnerability was found in a Moodle TeX filter administrative setting where insufficient sanitization of configuration input could allow command injection. On sites where the TeX filter is enabled and ImageMagick is installed, a maliciously crafted setting value entered by an administrator could result in unintended system command execution. While exploitation requires administrative privileges, successful compromise could affect the entire Moodle server.
Affected software
- Moodle ≥ 5.0.0 < 5.0.5≥ 5.1.0 < 5.1.2< 4.5.9 Fixed in: 5.0.5, 5.1.2, 4.5.9 exact match
Details
- Published
- 2026-02-21
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-78
- EPSS (30-day exploit probability)
- 13.83% (percentile 97)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.