high7.3
CVE-2025-67849
Moodle Cross-site Scripting (XSS) vulnerability
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | moodle/moodle | < 4.1.22 | 4.1.22 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Moodle | Moodle | from 4.5.0 before 4.5.8 from 5.0.0 before 5.0.4 Version 5.1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/security/cve/CVE-2025-67849
- https://bugzilla.redhat.com/show_bug.cgi?id=2423835
- https://github.com/advisories/GHSA-mhf6-pp52-8wqj
- https://nvd.nist.gov/vuln/detail/CVE-2025-67849
- https://github.com/moodle/moodle/commit/a3063dcaa44dbe66e60a37cadb33bfadfe4feb03
- https://moodle.org/mod/forum/discuss.php?d=471299