The CSV grade import method contained an XSS risk for users importing the spreadsheet, if it contained unsafe content.
| Severity/Risk: | Minor |
| Versions affected: | 4.2 to 4.2.2, 4.1 to 4.1.5, 4.0 to 4.0.10, 3.11 to 3.11.16, 3.9 to 3.9.23 and earlier unsupported versions |
| Versions fixed: | 4.2.3, 4.1.6, 4.0.11, 3.11.17 and 3.9.24 |
| Reported by: | Attilio Ferrari |
| Workaround: | Verify the contents and trustworthiness of grade spreadsheets before importing them. |
| CVE identifier: | CVE-2023-5541 |
| Changes (master): | http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79426 |
| Tracker issue: | MDL-79426 XSS risk when using CSV grade import method |