description: The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in some returnurl parameters. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website. This flaw allows a remote attacker to perform cross-site scripting (XSS) attacks.
problem types: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
affected:
{
vendor: n/a
product: moodle
versions:
version: Affects Moodle 4.1, 4.0 to 4.0.5, 3.11 to 3.11.11, 3.9 to 3.9.18, Fixed in 4.1.1, 4.0.6, 3.11.12 and 3.9.19, status: affected
}