{"id":"CVE-2017-2576","aliases":["EUVD-2022-3590","GHSA-cjrf-xg77-chpw","UBUNTU-CVE-2017-2576"],"status":"published","title":"Moodle Incorrect sanitation of attributes in forums","description":"In Moodle 2.x and 3.x, there is incorrect sanitization of attributes in forums.","severity":{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01015,"percentile":0.63509,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2017-01-20T08:39:00Z","modified":"2026-10-24T10:30:39Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["2.7.18","3.0.8","3.1.4","3.2.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7"},{"fixed":"2.7.18"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0"},{"fixed":"3.0.8"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1"},{"fixed":"3.1.4"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2"},{"fixed":"3.2.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7"},{"fixed":"2.7.18"}]}],"versions":["v2.7.0","v2.7.0-beta","v2.7.0-rc1","v2.7.0-rc2","v2.7.1","v2.7.10","v2.7.11","v2.7.12","v2.7.13","v2.7.14","v2.7.15","v2.7.16","v2.7.17","v2.7.2","v2.7.3","v2.7.4","v2.7.5","v2.7.6","v2.7.7","v2.7.8","v2.7.9"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0"},{"fixed":"3.0.8"}]}],"versions":["v3.0.0","v3.0.0-beta","v3.0.0-rc1","v3.0.0-rc2","v3.0.0-rc3","v3.0.0-rc4","v3.0.1","v3.0.2","v3.0.3","v3.0.4","v3.0.5","v3.0.6","v3.0.7"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1"},{"fixed":"3.1.4"}]}],"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"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2"},{"fixed":"3.2.1"}]}],"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"]},{"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":"http://www.securityfocus.com/bid/95649","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=345912","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2576","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-cjrf-xg77-chpw"},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2017-2576","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-2576","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-2576","description":"In Moodle 2.x and 3.x, there is incorrect sanitization of attributes in forums.","status":"published","published":"2017-01-20T08:39:00Z","modified":"2024-08-05T13:55:06.278Z","updated_at":"2026-11-02T14:33:15.201133Z"}],"euvd":[{"id":"EUVD-2022-3590","description":"In Moodle 2.x and 3.x, there is incorrect sanitization of attributes in forums.","status":"published","published":"2017-01-20T08:39:00Z","modified":"2024-08-05T13:55:06Z","updated_at":"2026-11-03T02:39:20.499267Z"}],"ghsa":[{"id":"GHSA-cjrf-xg77-chpw","title":"Moodle Incorrect sanitation of attributes in forums","description":"In Moodle 2.x and 3.x, there is incorrect sanitization of attributes in forums.","status":"published","published":"2022-05-13T01:12:40Z","modified":"2024-04-23T23:41:23Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:44.867253Z"}],"nvd":[{"id":"CVE-2017-2576","description":"In Moodle 2.x and 3.x, there is incorrect sanitization of attributes in forums.","status":"published","published":"2017-01-20T08:59:00.393Z","modified":"2026-06-17T01:16:26.02Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:03:42.372487Z"}],"osv":[{"id":"CVE-2017-2576","description":"In Moodle 2.x and 3.x, there is incorrect sanitization of attributes in forums.","status":"published","published":"2017-01-20T08:59:00.393Z","modified":"2026-10-24T10:30:39.324753925Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:05.486486Z"},{"id":"GHSA-cjrf-xg77-chpw","title":"Moodle Incorrect sanitation of attributes in forums","description":"In Moodle 2.x and 3.x, there is incorrect sanitization of attributes in forums.","status":"published","published":"2022-05-13T01:12:40Z","modified":"2024-04-23T23:58:48.167595Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:45.28161Z"},{"id":"UBUNTU-CVE-2017-2576","description":"In Moodle 2.x and 3.x, there is incorrect sanitization of attributes in forums.","status":"published","published":"2017-01-20T08:59:00Z","modified":"2026-09-23T18:45:57.121612654Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:14.977781Z"}]}}
