CVE-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.
How to fix
- moodle moodle4.1.22, 4.4.11, 4.5.8, 5.0.4 or later
- moodle/moodle4.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moodle moodle | v < 4.1.22, 4.4.0 ≤ v < 4.4.11, 4.5.0 ≤ v < 4.5.8, 5.0.0 ≤ v < 5.0.4, 5.1.0 | 4.1.22, 4.4.11, 4.5.8, 5.0.4 |
| moodle/moodlePackagist | v < 4.1.22, 4.4.0-beta ≤ v < 4.4.12, 4.5.0-beta ≤ v < 4.5.8, 5.0.0-beta ≤ v < 5.0.4, 5.1.0-beta ≤ v < 5.1.1 | 4.1.22, 4.4.12, 4.5.8, 5.0.4, 5.1.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.