{"id":"GHSA-wpfp-q843-v772","aliases":["BIT-moodle-2021-43558","CVE-2021-43558"],"title":"Cross-site Scripting in moodle","description":"A flaw was found in Moodle in versions 3.11 to 3.11.3, 3.10 to 3.10.7, 3.9 to 3.9.10 and earlier unsupported versions. A URL parameter in the filetype site administrator tool required extra sanitizing to prevent a reflected XSS risk.","severity":"medium","score":6.1,"published":"2021-11-23T00:00:51.000Z","modified":"2023-12-06T01:01:39.649Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.11.0"},{"fixed":"3.11.4"}],"type":"ECOSYSTEM"}],"versions":["v3.11.0","v3.11.1","v3.11.2","v3.11.3"],"fixed":["3.11.4"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.10.0"},{"fixed":"3.10.8"}],"type":"ECOSYSTEM"}],"versions":["v3.10.0","v3.10.1","v3.10.2","v3.10.3","v3.10.4","v3.10.5","v3.10.6","v3.10.7"],"fixed":["3.10.8"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.9.0"},{"fixed":"3.9.11"}],"type":"ECOSYSTEM"}],"versions":["v3.9.0","v3.9.1","v3.9.10","v3.9.2","v3.9.3","v3.9.4","v3.9.5","v3.9.6","v3.9.7","v3.9.8","v3.9.9"],"fixed":["3.9.11"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-43558","https://bugzilla.redhat.com/show_bug.cgi?id=2021515","https://github.com/moodle/moodle","https://moodle.org/mod/forum/discuss.php?d=429097"],"sources":[{"name":"OSV","id":"GHSA-wpfp-q843-v772","modified":"2023-12-06T01:01:39.649461Z","url":"https://osv.dev/vulnerability/GHSA-wpfp-q843-v772"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}]}