CVEvulnerability
CVE-2023-23921
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-02-17
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
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.
Affected configurations
• moodle moodle (>= 3.9.0 < 3.9.19)
• moodle moodle (>= 3.11.0 < 3.11.12)
• moodle moodle (>= 4.0.0 < 4.0.6)
• moodle moodle 4.1.0
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76810 Patch
- https://bugzilla.redhat.com/show_bug.cgi?id=2162526 Issue Tracking, Third Party Advisory
- https://moodle.org/mod/forum/discuss.php?d=443272#p1782021 Patch, Vendor Advisory
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76810 Patch
- https://bugzilla.redhat.com/show_bug.cgi?id=2162526 Issue Tracking, Third Party Advisory
- https://moodle.org/mod/forum/discuss.php?d=443272#p1782021 Patch, Vendor Advisory