{"id":"CVE-2017-2645","aliases":["EUVD-2022-3352","GHSA-9cg4-4f87-jhm3"],"status":"published","title":"Moodle XSS in attachments to evidence of prior learning","description":"In Moodle 3.x, XSS can occur via attachments to evidence of prior learning.","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01054,"percentile":0.64606,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2017-03-26T18:00:00Z","modified":"2026-10-24T10:30:53Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["3.1.5","3.2.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1"},{"fixed":"3.1.5"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2"},{"fixed":"3.2.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1"},{"fixed":"3.1.5"}]}],"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"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2"},{"fixed":"3.2.2"}]}],"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"]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://www.securityfocus.com/bid/96982","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"http://www.securitytracker.com/id/1038174","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=349422","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2645","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9cg4-4f87-jhm3"},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2017-2645","description":"In Moodle 3.x, XSS can occur via attachments to evidence of prior learning.","status":"published","published":"2017-03-26T18:00:00Z","modified":"2024-08-05T14:02:07.145Z","updated_at":"2026-11-02T14:33:15.543086Z"}],"euvd":[{"id":"EUVD-2022-3352","description":"In Moodle 3.x, XSS can occur via attachments to evidence of prior learning.","status":"published","published":"2017-03-26T18:00:00Z","modified":"2024-08-05T14:02:07Z","updated_at":"2026-11-03T02:39:20.035866Z"}],"ghsa":[{"id":"GHSA-9cg4-4f87-jhm3","title":"Moodle XSS in attachments to evidence of prior learning","description":"In Moodle 3.x, XSS can occur via attachments to evidence of prior learning.","status":"published","published":"2022-05-17T02:30:18Z","modified":"2024-04-24T17:30:21Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:45.47408Z"}],"nvd":[{"id":"CVE-2017-2645","description":"In Moodle 3.x, XSS can occur via attachments to evidence of prior learning.","status":"published","published":"2017-03-26T18:59:00.26Z","modified":"2026-06-17T01:16:34.883Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:03:44.275273Z"}],"osv":[{"id":"CVE-2017-2645","description":"In Moodle 3.x, XSS can occur via attachments to evidence of prior learning.","status":"published","published":"2017-03-26T18:59:00.26Z","modified":"2026-10-24T10:30:53.999952351Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:05.486486Z"},{"id":"GHSA-9cg4-4f87-jhm3","title":"Moodle XSS in attachments to evidence of prior learning","description":"In Moodle 3.x, XSS can occur via attachments to evidence of prior learning.","status":"published","published":"2022-05-17T02:30:18Z","modified":"2024-04-24T17:57:36.094496Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:43.524801Z"}]}}
