{"id":"GHSA-595j-wpfg-23w4","summary":"Moodle XSS Vulnerability","details":"In Moodle 3.x, there is XSS via a calendar event name.","aliases":["CVE-2018-1045"],"modified":"2024-02-16T07:56:55.407113Z","published":"2022-05-14T03:46:13Z","database_specific":{"nvd_published_at":"2018-01-22T08:29:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-07-25T21:07:32Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1045"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=364384"},{"type":"WEB","url":"https://web.archive.org/web/20210124134120/http://www.securityfocus.com/bid/102755"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3"},{"fixed":"3.3.4"}]}],"versions":["v3.3.0","v3.3.0-beta","v3.3.0-rc1","v3.3.0-rc2","v3.3.0-rc3","v3.3.1","v3.3.2","v3.3.3"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.3.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-595j-wpfg-23w4/GHSA-595j-wpfg-23w4.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2"},{"fixed":"3.2.7"}]}],"versions":["v3.2.0","v3.2.0-beta","v3.2.0-rc1","v3.2.0-rc2","v3.2.0-rc3","v3.2.0-rc4","v3.2.0-rc5","v3.2.1","v3.2.2","v3.2.3","v3.2.4","v3.2.5","v3.2.6"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.2.6","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-595j-wpfg-23w4/GHSA-595j-wpfg-23w4.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1"},{"fixed":"3.1.10"}]}],"versions":["v3.1.0","v3.1.0-beta","v3.1.0-rc1","v3.1.0-rc2","v3.1.1","v3.1.2","v3.1.3","v3.1.4","v3.1.5","v3.1.6","v3.1.7","v3.1.8","v3.1.9"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.1.9","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-595j-wpfg-23w4/GHSA-595j-wpfg-23w4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}