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.
Problem types
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
4.5.0 (semver) before 4.5.8
5.0.0 (semver) before 5.0.4
5.1.0 (semver) before 5.1.1
Timeline
| 2025-12-19: | Reported to Red Hat. |
| 2025-12-15: | Made public. |
Credits
Red Hat would like to thank Vuln37 for reporting this issue.
References
access.redhat.com/security/cve/CVE-2025-67849
bugzilla.redhat.com/show_bug.cgi?id=2423835 (RHBZ#2423835)