CVE-2023-23921
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.
How to fix
- moodle moodle3.9.19, 3.11.12, 4.0.6 or later
- moodle/moodle3.9.19, 3.11.12, 4.0.6, 4.1.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moodle moodle | 3.9.0 ≤ v < 3.9.19, 3.11.0 ≤ v < 3.11.12, 4.0.0 ≤ v < 4.0.6, 4.1.0 | 3.9.19, 3.11.12, 4.0.6 |
| moodle/moodlePackagist | v < 3.9.19, 3.10.0 ≤ v < 3.11.12, 4.0.0-beta ≤ v < 4.0.6, 4.1.0-beta ≤ v < 4.1.1 | 3.9.19, 3.11.12, 4.0.6, 4.1.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.