CVE-2023-5541Moodle
Medium 6.1 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 42
- Auth required
- No
- Published
- Nov 9, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
The CSV grade import method contained an XSS risk for users importing the spreadsheet, if it contained unsafe content.
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
< 4.3.0-rc2 |
4.3.0-rc2 |
composer require "moodle/moodle:^4.3.0-rc2" |
Per OSV / GitHub Advisories (GHSA-28gc-4qq5-8q26). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≥ 3.9.0 < 3.9.24 |
| moodle | moodle | ≥ 3.11.0 < 3.11.17 |
| moodle | moodle | ≥ 4.0.0 < 4.0.11 |
| moodle | moodle | ≥ 4.1.0 < 4.1.6 |
| moodle | moodle | ≥ 4.2.0 < 4.2.3 |
Official sources
References
Links published by the sources. Open them with care.
- git.moodle.org Patch
- bugzilla.redhat.com Issue Tracking
- moodle.org Patch