CVE-2025-67849

High

Description

A flaw was found in Moodle. This cross-site scripting (XSS) vulnerability, caused by improper sanitization of AI prompt responses, allows attackers to inject malicious HTML or script into web pages. When other users view these compromised pages, their sessions could be stolen, or the user interface could be manipulated.

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

How to fix

Update
  • moodle moodle4.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 moodle4.5.0 ≤ v < 4.5.8, 5.0.0 ≤ v < 5.0.4, 5.1.04.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.