{"id":"CVE-2023-5541","published":"2023-11-09T19:18:22Z","modified":"2024-08-02T07:59:44Z","title":"Moodle: xss risk when using csv grade import method","vendor":null,"product":null,"tier":"tail","description":{"text":"The CSV grade import method contained an XSS risk for users importing the spreadsheet, if it contained unsafe content.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00535,"percentile":0.46081,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79426","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2243437","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=451582","tags":[]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":9.22},{"name":"CVSS severity","points":2.31}]},"affectedVersions":[{"vendor":null,"product":null,"versions":[">= 4.2.0, < 4.2.3",">= 4.1.0, < 4.1.6",">= 4.0.0, < 4.0.11",">= 3.11.0, < 3.11.17","< 3.9.24"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-17T20:18:35.680052Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":["<4.3.0-rc2"],"patched":["4.3.0-rc2"],"from":["GHSA-28gc-4qq5-8q26"],"provenance":"source"}],"summary":{"text":"The Moodle grade import feature for CSV files contains a cross-site scripting flaw, where unsanitised content in an imported spreadsheet is not properly neutralised. An attacker who can supply a malicious CSV file requires a victim user to import it, and the script then runs in that user's context, with the impact limited to integrity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:50Z"},"euvd":{"id":"EUVD-2023-2845","exploited":false,"provenance":"source"}}