{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-5547","id":"CVE-2023-5547","title":"Moodle: xss risk when previewing data in course upload tool","description":"The course upload preview contained an XSS risk for users uploading unsafe data.","descriptionLong":"The course upload preview contained an XSS risk for users uploading unsafe data.","published":"2023-11-09T19:35:24.575Z","updated":"2026-10-28T02:31:01.141332362Z","reserved":"2023-10-12T00:30:28.296Z","status":"Modified","rejected":false,"assigner":"fedora","metric":{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"fedora"},"metrics":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"fedora"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"puiterwijk.org"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"low","products":["moodle"],"affectedProducts":[{"vendor":"","product":"moodle","defaultStatus":"unaffected","versions":[{"status":"affected","version":"4.2.0","lessThan":"4.2.3","versionType":"semver"},{"status":"affected","version":"4.1.0","lessThan":"4.1.6","versionType":"semver"},{"status":"affected","version":"4.0.0","lessThan":"4.0.11","versionType":"semver"},{"status":"affected","version":"3.11.0","lessThan":"3.11.17","versionType":"semver"},{"status":"affected","version":"0","lessThan":"3.9.24","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":["<4.3.0-rc2"],"fixed":["4.3.0-rc2"],"advisory":"GHSA-9gqp-3g28-w9xc"}],"cwes":["CWE-79"],"aliases":["BIT-moodle-2023-5547","GHSA-9gqp-3g28-w9xc"],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79455","tags":["x_transferred","Patch","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2243447","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Issue Tracking","report","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=451588","tags":["x_transferred","Patch","web"]},{"url":"https://git.moodle.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5547.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5547","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/833e818f022cce8373922afaa0cc6c8726b6b079","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/ef67f43c67e00c271658e42fc2e9cbe5fc94a87e","tags":["web"]},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00535,"epssPercentile":0.45945,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-5547","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5547","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-5547","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9gqp-3g28-w9xc","ok":true,"note":"GHSA-9gqp-3g28-w9xc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-5547","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}