CVE-2025-67850

High

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.

SeverityHigh
CVSS7.3
Exploit probability—
ProductMoodle
PublishedFeb 3, 2026
First seenFeb 3, 2026

How to fix

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

ProductAffected versionsFixed in
moodle moodlev < 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.04.1.22, 4.4.11, 4.5.8, 5.0.4
moodle/moodlePackagistv < 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.14.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.