7.3high
Moodle: moodle: cross-site scripting vulnerability via inadequate input filtering in formula editor
- Severity
- 7.3high CVSS:3.1 by fedora
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
- Also known as
- GHSA-6mmv-f6c6-v6q8BIT-MOODLE-2025-67850
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
| Product or package | Versions | Reported by |
|---|---|---|
| moodle | from 4.1.0 before 4.1.22, from 4.4.0 before 4.4.12, from 4.5.0 before 4.5.8, from 5.0.0 before 5.0.4, from 5.1.0 before 5.1.1 | CVE List |
| moodle/moodle (Packagist) | before 4.1.22, from 4.4.0-beta before 4.4.12, from 4.5.0-beta before 4.5.8, from 5.0.0-beta before 5.0.4, from 5.1.0-beta before 5.1.1 | GitHub Advisory Database |
| moodle moodle | before 4.1.22, from 4.4.0 before 4.4.11, from 4.5.0 before 4.5.8, from 5.0.0 before 5.0.4, 5.1.0 | NVD |
| moodle (Bitnami) | before 4.1.22, from 4.4.0 before 4.4.11, from 4.5.0 before 4.5.8, from 5.0.0 before 5.0.4, from 5.1.0 before 5.1.1 | Bitnami Vulnerability Database |
All scores
| fedora | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Se encontró una falla en moodle. Esta vulnerabilidad, conocida como cross-site scripting (XSS), ocurre debido a comprobaciones insuficientes en los datos proporcionados por el usuario en los campos de expresión aritmética del editor de fórmulas. Un atacante remoto podría inyectar código malicioso en estos campos. Cuando otros usuarios ven estas expresiones, el código malicioso se ejecutaría en sus navegadores web, comprometiendo potencialmente sus datos o llevando a acciones no autorizadas.
References
| https://access.redhat.com/security/cve/CVE-2025-67850 | advisory, third-party-advisory, vdb-entry, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2423838 | advisory, issue-tracking, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-67850 | advisory, web | |
| https://github.com/moodle/moodle/commit/c85f153068a717a3b28bc122e75154bac99e67e1 | web | |
| https://github.com/moodle/moodle | package | |
| https://moodle.org/mod/forum/discuss.php?d=471300 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-67850 changed 2026-02-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6mmv-f6c6-v6q8 changed 2026-02-12 | CC-BY-4.0 |
| NVD | CVE-2025-67850 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2025-67850 changed 2026-09-10 | Apache-2.0 |