What’s Vulnerable › Vulnerabilities

CVE-2025-67849: Moodle: moodle: cross-site scripting (xss) via improper sanitization of ai prompt responses

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.

Affected products

How to fix

Upgrade to a fixed version: Moodle 4.5.8, 5.0.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-67849 or the next vulnerability affects your stack