CVE-2023-5541
MEDIUM 6.1CVSS 3.1Moodle Cross-site Scripting vulnerability
The CSV grade import method contained an XSS risk for users importing the spreadsheet, if it contained unsafe content.
- Published
- 9 Nov 2023
- Last modified
- 10 Sep 2026
- Assigned by
- patrick@puiterwijk.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-moodle-2023-5541GHSA-28gc-4qq5-8q26
- Sources
- NVDJSONOSV GHSA-28gc-4qq5-8q26JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | patrick@puiterwijk.org (Secondary) | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.9.0, < 3.9.24 | 3.9.24 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.11.0, < 3.11.17 | 3.11.17 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.0.11 | 4.0.11 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.1.0, < 4.1.6 | 4.1.6 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.3 | 4.2.3 |
| OSV | Packagist | moodle/moodle | < 4.3.0-rc2 | 4.3.0-rc2 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79426 · Patch, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2243437 · Issue Tracking, WEB
- https://moodle.org/mod/forum/discuss.php?d=451582 · Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-5541 · ADVISORY
- https://github.com/moodle/moodle/commit/f5f6ce375e37da902afb043c6b506129fc433233 · WEB
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 9 Nov 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Nov 2023)