{"id":"CVE-2018-1045","aliases":["EUVD-2022-2543","GHSA-595j-wpfg-23w4","UBUNTU-CVE-2018-1045"],"status":"published","title":"Moodle XSS Vulnerability","description":"In Moodle 3.x, there is XSS via a calendar event name.","severity":{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00967,"percentile":0.61967,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2018-01-22T08:00:00Z","modified":"2026-10-24T10:30:40Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["3.3.4","3.2.7","3.1.10"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3"},{"last_affected":"3.3.3"},{"fixed":"3.3.4"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2"},{"last_affected":"3.2.6"},{"fixed":"3.2.7"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1"},{"last_affected":"3.1.9"},{"fixed":"3.1.10"}]}]},{"source":"osv","ecosystem":"Packagist","package":"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"]},{"source":"osv","ecosystem":"Packagist","package":"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"]},{"source":"osv","ecosystem":"Packagist","package":"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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.9+dfsg-1","2.7.10+dfsg-1","2.7.11+dfsg-1","2.7.11+dfsg-2","2.7.12+dfsg-1","3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=364384","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web","report"]},{"url":"http://www.securityfocus.com/bid/102755","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1045","tags":["advisory"]},{"url":"https://web.archive.org/web/20210124134120/http://www.securityfocus.com/bid/102755","tags":["web"]},{"url":"https://github.com/advisories/GHSA-595j-wpfg-23w4"},{"url":"https://ubuntu.com/security/CVE-2018-1045","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1045","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-1045","description":"In Moodle 3.x, there is XSS via a calendar event name.","status":"published","published":"2018-01-22T08:00:00Z","modified":"2024-08-05T03:44:11.832Z","updated_at":"2026-11-02T14:35:09.139955Z"}],"euvd":[{"id":"EUVD-2022-2543","description":"In Moodle 3.x, there is XSS via a calendar event name.","status":"published","published":"2018-01-22T08:00:00Z","modified":"2024-08-05T03:44:11Z","updated_at":"2026-11-03T02:40:16.874515Z"}],"ghsa":[{"id":"GHSA-595j-wpfg-23w4","title":"Moodle XSS Vulnerability","description":"In Moodle 3.x, there is XSS via a calendar event name.","status":"published","published":"2022-05-14T03:46:13Z","modified":"2023-07-25T21:07:33Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:58.177785Z"}],"nvd":[{"id":"CVE-2018-1045","description":"In Moodle 3.x, there is XSS via a calendar event name.","status":"published","published":"2018-01-22T08:29:00.367Z","modified":"2026-06-17T01:50:21.427Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:04:22.309028Z"}],"osv":[{"id":"CVE-2018-1045","description":"In Moodle 3.x, there is XSS via a calendar event name.","status":"published","published":"2018-01-22T08:29:00.367Z","modified":"2026-10-24T10:30:40.42274361Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:07.641418Z"},{"id":"GHSA-595j-wpfg-23w4","title":"Moodle XSS Vulnerability","description":"In Moodle 3.x, there is XSS via a calendar event name.","status":"published","published":"2022-05-14T03:46:13Z","modified":"2024-02-16T07:56:55.407113Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:38.213481Z"},{"id":"UBUNTU-CVE-2018-1045","description":"In Moodle 3.x, there is XSS via a calendar event name.","status":"published","published":"2018-01-22T08:29:00Z","modified":"2026-09-23T18:45:56.229237919Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:16.544091Z"}]}}
