# CVE-2025-67850: Moodle: moodle: cross-site scripting vulnerability via inadequate input filtering in formula editor

- Severity: High 7.3 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- 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): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-02-03T10:52:03.962Z
- Modified: 2026-09-10T16:01:43.782Z
- Also known as: GHSA-6mmv-f6c6-v6q8, BIT-MOODLE-2025-67850
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: fedora

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

(As written by CVE List.)

## Affected

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

## Every score

- fedora: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating High

## 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

- CVE List: [CVE-2025-67850](https://www.cve.org/CVERecord?id=CVE-2025-67850), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-6mmv-f6c6-v6q8](https://github.com/advisories/GHSA-6mmv-f6c6-v6q8), CC-BY-4.0, modified 2026-02-12
- NVD: [CVE-2025-67850](https://nvd.nist.gov/vuln/detail/CVE-2025-67850), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2025-67850](https://osv.dev/vulnerability/BIT-MOODLE-2025-67850), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2025-67850 · Whole record: https://cve.day/CVE-2025-67850.json · Rebuilt by cve.day 2026-11-25T22:59:11.007Z
