CVE-2025-67850

published 3 Feb 2026 · updated 26 Feb 2026

Moodle: moodle: cross-site scripting vulnerability via inadequate input filtering in formula editor

7.3HighCVSS 7.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.1.22, 4.4.12, 4.5.8 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=4.1.0 <4.1.22, >=4.4.0 <4.4.12, >=4.5.0 <4.5.8, >=5.0.0 <5.0.4, >=5.1.0 <5.1.14.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-67850 severity on Zeptric[![CVE-2025-67850](https://zeptric.io/badge/cve/CVE-2025-67850.svg)](https://zeptric.io/cve/CVE-2025-67850)