GHSA-97qf-pq7x-964m
Moodle Cross-site Scripting vulnerability
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | moodle/moodle | < 3.9.19 | 3.9.19 |
| Packagist | moodle/moodle | >= 3.10.0, < 3.11.12 | 3.11.12 |
| Packagist | moodle/moodle | >= 4.0.0-beta, < 4.0.6 | 4.0.6 |
| Packagist | moodle/moodle | >= 4.1.0-beta, < 4.1.1 | 4.1.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.