Moodle: moodle: cross-site scripting (xss) via improper sanitization of ai prompt responses
moodle
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| moodle/moodle Packagist |
|
|
moodle
| Product | Affected | Fixed in |
|---|---|---|
| moodle/moodle Packagist |
|
|
5.0.45.1.1A 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.
From the CVE record · fedora
Moodle does not properly sanitize AI prompt responses, allowing an attacker to inject malicious HTML or script into web pages. When another user views an affected page, the attacker could steal their session or manipulate the interface. The input does not specify whether the attacker needs authentication.
Operators of Packagist moodle/moodle should check installations on versions <4.1.22, >=4.4.0-beta and <4.4.12, >=4.5.0-beta and <4.5.8, >=5.0.0-beta and <5.0.4, or >=5.1.0-beta and <5.1.1.