medium6.1
CVE-2023-23921
Moodle Cross-site Scripting vulnerability
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | moodle/moodle | < 3.9.19 | 3.9.19 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Moodle | Moodle | from 3.9.0 before 3.9.19 from 3.11.0 before 3.11.12 from 4.0.0 before 4.0.6 Version 4.1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76810
- https://bugzilla.redhat.com/show_bug.cgi?id=2162526
- https://moodle.org/mod/forum/discuss.php?d=443272#p1782021
- https://github.com/advisories/GHSA-97qf-pq7x-964m
- https://nvd.nist.gov/vuln/detail/CVE-2023-23921