{"id":"GHSA-7mfw-g8x4-rq2w","aliases":["CVE-2017-12156"],"title":"Moodle XSS Vulnerability","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","description":"Moodle 3.x has XSS in the contact form on the \"non-respondents\" page in non-anonymous feedback.","severity":"medium","score":6.1,"published":"2022-05-17T00:51:04.000Z","modified":"2024-02-16T08:04:42.990Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","sources":[{"name":"OSV · GHSA-7mfw-g8x4-rq2w","url":"https://osv.dev/vulnerability/GHSA-7mfw-g8x4-rq2w"}],"ranges":[{"events":[{"introduced":"3.3.0"},{"fixed":"3.3.2"}],"type":"ECOSYSTEM"}],"versions":["v3.3.0","v3.3.1"],"fixed":["3.3.2"]},{"ecosystem":"Packagist","name":"moodle/moodle","sources":[{"name":"OSV · GHSA-7mfw-g8x4-rq2w","url":"https://osv.dev/vulnerability/GHSA-7mfw-g8x4-rq2w"}],"ranges":[{"events":[{"introduced":"3.2.0"},{"fixed":"3.2.5"}],"type":"ECOSYSTEM"}],"versions":["v3.2.0","v3.2.1","v3.2.2","v3.2.3","v3.2.4"],"fixed":["3.2.5"]},{"ecosystem":"Packagist","name":"moodle/moodle","sources":[{"name":"OSV · GHSA-7mfw-g8x4-rq2w","url":"https://osv.dev/vulnerability/GHSA-7mfw-g8x4-rq2w"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"3.1.8"}],"type":"ECOSYSTEM"}],"versions":["v2.3.10","v2.3.11","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v2.4.0","v2.4.0-rc1","v2.4.1","v2.4.10","v2.4.11","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7","v2.4.8","v2.4.9","v2.5.0","v2.5.0-beta","v2.5.0-rc1","v2.5.1","v2.5.2","v2.5.3","v2.5.4","v2.5.5","v2.5.6","v2.5.7","v2.5.8","v2.5.9","v2.6.0","v2.6.0-beta","v2.6.0-rc1","v2.6.1","v2.6.10","v2.6.11","v2.6.2","v2.6.3","v2.6.4","v2.6.5","v2.6.6","v2.6.7","v2.6.8","v2.6.9","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.18","v2.7.19","v2.7.2","v2.7.20","v2.7.3","v2.7.4","v2.7.5","v2.7.6","v2.7.7","v2.7.8","v2.7.9","v2.8.0","v2.8.0-beta","v2.8.0-rc1","v2.8.0-rc2","v2.8.1","v2.8.10","v2.8.11","v2.8.12","v2.8.2","v2.8.3","v2.8.4","v2.8.5","v2.8.6","v2.8.7","v2.8.8","v2.8.9","v2.9.0","v2.9.0-beta","v2.9.0-rc1","v2.9.0-rc2","v2.9.1","v2.9.2","v2.9.3","v2.9.4","v2.9.5","v2.9.6","v2.9.7","v2.9.8","v2.9.9","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.10","v3.0.2","v3.0.3","v3.0.4","v3.0.5","v3.0.6","v3.0.7","v3.0.8","v3.0.9","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"],"fixed":["3.1.8"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2017-12156","https://github.com/moodle/moodle/commit/a39d2976fe5e91da7a28a8512d5b94d4a27067b8","https://github.com/moodle/moodle","https://moodle.org/mod/forum/discuss.php?d=358585","https://web.archive.org/web/20210124104026/http://www.securityfocus.com/bid/100867"],"sources":[{"name":"OSV","id":"GHSA-7mfw-g8x4-rq2w","modified":"2024-02-16T08:04:42.990712Z","url":"https://osv.dev/vulnerability/GHSA-7mfw-g8x4-rq2w"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T21:25:31.856Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}