{"id":"CVE-2020-1691","aliases":["BIT-moodle-2020-1691","EUVD-2022-6545","GHSA-cwhp-rqfr-8462","UBUNTU-CVE-2020-1691"],"status":"published","title":"Moodle XSS Vulnerability","description":"In Moodle 3.8, messages required extra sanitizing before updating the conversation overview, to prevent the risk of stored cross-site scripting.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/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-09","score":0.00649,"percentile":0.51392,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-08-05T15:21:45Z","modified":"2026-10-24T10:30:19Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["3.8.1"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"moodle","fixed_in":["3.8.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8"},{"last_affected":"3.8"},{"fixed":"3.8.1"}]}],"versions":["3.8"]},{"source":"osv","ecosystem":"Bitnami","package":"moodle","ranges":[{"type":"SEMVER","events":[{"introduced":"3.8.0"},{"fixed":"3.8.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8"},{"fixed":"3.8.1"}]}],"versions":["3.8","v3.8.0","v3.8.0-beta","v3.8.0-rc1"]},{"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=395953","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Vendor Advisory","advisory","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1691","tags":["web","advisory"]},{"url":"https://github.com/moodle/moodle/commit/4e809346537e230cbff8235bfee0e7e151e4e9f9","tags":["web"]},{"url":"https://github.com/advisories/GHSA-cwhp-rqfr-8462"},{"url":"https://ubuntu.com/security/CVE-2020-1691","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-1691","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-1691","description":"In Moodle 3.8, messages required extra sanitizing before updating the conversation overview, to prevent the risk of stored cross-site scripting.","status":"published","published":"2022-08-05T15:21:45Z","modified":"2024-08-04T06:46:30.525Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:35:56.638833Z"}],"euvd":[{"id":"EUVD-2022-6545","description":"In Moodle 3.8, messages required extra sanitizing before updating the conversation overview, to prevent the risk of stored cross-site scripting.","status":"published","published":"2022-08-05T15:21:45Z","modified":"2024-08-04T06:46:30Z","updated_at":"2026-11-03T03:08:11.523019Z"}],"ghsa":[{"id":"GHSA-cwhp-rqfr-8462","title":"Moodle XSS Vulnerability","description":"In Moodle 3.8, messages required extra sanitizing before updating the conversation overview, to prevent the risk of stored cross-site scripting.","status":"published","published":"2022-08-06T00:00:47Z","modified":"2023-07-13T23:34:27Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/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:57.310051Z"}],"nvd":[{"id":"CVE-2020-1691","description":"In Moodle 3.8, messages required extra sanitizing before updating the conversation overview, to prevent the risk of stored cross-site scripting.","status":"published","published":"2022-08-05T16:15:10.68Z","modified":"2026-06-17T03:02:13.283Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:46.951463Z"}],"osv":[{"id":"CVE-2020-1691","description":"In Moodle 3.8, messages required extra sanitizing before updating the conversation overview, to prevent the risk of stored cross-site scripting.","status":"published","published":"2022-08-05T16:15:10.68Z","modified":"2026-10-24T10:30:19.733295159Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:14.828228Z"},{"id":"GHSA-cwhp-rqfr-8462","title":"Moodle XSS Vulnerability","description":"In Moodle 3.8, messages required extra sanitizing before updating the conversation overview, to prevent the risk of stored cross-site scripting.","status":"published","published":"2022-08-06T00:00:47Z","modified":"2024-02-16T08:13:26.196297Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/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:45.639885Z"},{"id":"UBUNTU-CVE-2020-1691","description":"In Moodle 3.8, messages required extra sanitizing before updating the conversation overview, to prevent the risk of stored cross-site scripting.","status":"published","published":"2022-08-05T16:15:00Z","modified":"2026-09-23T18:46:07.928963436Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:23.344108Z"},{"id":"BIT-moodle-2020-1691","description":"In Moodle 3.8, messages required extra sanitizing before updating the conversation overview, to prevent the risk of stored cross-site scripting.","status":"published","published":"2024-03-06T11:12:17.968Z","modified":"2026-09-08T08:48:14.712692954Z","updated_at":"2026-11-02T15:28:33.469426Z"}]}}
