Moodle: reflected xss risk in some returnurl parameters
moodle
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| moodle/moodle Packagist |
|
|
moodle
| Product | Affected | Fixed in |
|---|---|---|
| moodle/moodle Packagist |
|
|
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.
From the CVE record · fedora
Some Moodle returnurl parameters do not sufficiently sanitize user-supplied data. A remote attacker can trick a user into following a crafted link, causing HTML and script code to run in the user’s browser in the context of the Moodle site.
Teams running Packagist moodle/moodle versions below 3.9.19, from 3.10.0 to below 3.11.12, from 4.0.0-beta to below 4.0.6, or from 4.1.0-beta to below 4.1.1 should check their installations.