XSS in Moodle
CVE-2025-67849
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.003, 18.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Moodle — versions 5.1.0
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2025-67849 (Third Party Advisory, vdb-entry)
- RHBZ#2423835 (issue-tracking, Third Party Advisory, Issue Tracking)