CVE-2023-23921
6.1medium
Moodle: reflected xss risk in some returnurl parameters
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.91% (higher than 58% of CVEs)
- Published
- Last changed
- Assigned by
- fedora
- Also known as
- GHSA-97qf-pq7x-964mBIT-MOODLE-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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| moodle | from 4.1.0 before 4.1.1, from 4.0.0 before 4.0.6, from 3.11.0 before 3.11.12, before 3.9.19 | CVE List |
| moodle/moodle (Packagist) | before 3.9.19, from 3.10.0 before 3.11.12, from 4.0.0-beta before 4.0.6, from 4.1.0-beta before 4.1.1 | GitHub Advisory Database |
| 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, 4.1.0 | NVD |
| moodle (Bitnami) | from 3.9.0 before 3.9.19, from 3.11.0 before 3.11.12, from 4.0.0 before 4.0.6, from 4.1.0 before 4.1.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
References
| http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-76810 | fix, patch, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2162526 | advisory, issue-tracking, third-party-advisory, web | |
| https://moodle.org/mod/forum/discuss.php?d=443272#p1782021 | advisory, patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-23921 | advisory, web | |
| https://github.com/moodle/moodle | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-23921 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-97qf-pq7x-964m changed 2023-12-06 | CC-BY-4.0 |
| NVD | CVE-2023-23921 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MOODLE-2023-23921 changed 2026-09-08 | Apache-2.0 |