Original description
A flaw was found in moodle. This vulnerability, known as Cross-Site Scripting (XSS), occurs due to insufficient checks on user-provided data in the formula editor's arithmetic expression fields. A remote attacker could inject malicious code into these fields. When other users view these expressions, the malicious code would execute in their web browsers, potentially compromising their data or leading to unauthorized actions.
Affected software
- Moodle ≥ 4.4.0 < 4.4.11≥ 4.5.0 < 4.5.8≥ 5.0.0 < 5.0.4< 4.1.22= 5.1.0 Fixed in: 4.4.11, 4.5.8, 5.0.4, 4.1.22 exact match
Details
- Published
- 2026-02-03
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- CWE
- CWE-79
- EPSS (30-day exploit probability)
- 0.30% (percentile 23)
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.