CVE-2025-67849GHSA-MHF6-PP52-8WQJBIT-MOODLE-2025-67849
Moodle: moodle: cross-site scripting (xss) via improper sanitization of ai prompt responses
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.5.8, 5.0.4, 5.1.1, 4.1.22, 4.4.12
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- moodle
From 4.5.0 · fixed in 4.5.8; From 5.0.0 · fixed in 5.0.4; From 5.1.0 · fixed in 5.1.1
- moodle/moodlePackagist
fixed in 4.1.22
- moodle/moodlePackagist
From 4.4.0-beta · fixed in 4.4.12
- moodle/moodlePackagist
From 4.5.0-beta · fixed in 4.5.8
- moodle/moodlePackagist
From 5.0.0-beta · fixed in 5.0.4
- moodle/moodlePackagist
From 5.1.0-beta · fixed in 5.1.1