{"id":"GHSA-xhfw-wjjc-4j5h","aliases":["CVE-2018-1136"],"title":"Moodle Cross-site Scripting","description":"An issue was discovered in Moodle 3.x. An authenticated user is allowed to add HTML blocks containing scripts to their Dashboard; this is normally not a security issue because a personal dashboard is visible to this user only. Through this security vulnerability, users can move such a block to other pages where they can be viewed by other users.","severity":"medium","score":4.3,"published":"2022-05-13T01:49:13.000Z","modified":"2024-04-23T23:58:48.649Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.1"},{"fixed":"3.1.12"}],"type":"ECOSYSTEM"}],"versions":["v3.1.0","v3.1.0-beta","v3.1.0-rc1","v3.1.0-rc2","v3.1.1","v3.1.10","v3.1.11","v3.1.2","v3.1.3","v3.1.4","v3.1.5","v3.1.6","v3.1.7","v3.1.8","v3.1.9"],"fixed":["3.1.12"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.2"},{"fixed":"3.2.9"}],"type":"ECOSYSTEM"}],"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","v3.2.7","v3.2.8"],"fixed":["3.2.9"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.3"},{"fixed":"3.3.6"}],"type":"ECOSYSTEM"}],"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","v3.3.4","v3.3.5"],"fixed":["3.3.6"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"3.4"},{"fixed":"3.4.3"}],"type":"ECOSYSTEM"}],"versions":["v3.4.0","v3.4.0-beta","v3.4.0-rc1","v3.4.0-rc2","v3.4.0-rc3","v3.4.1","v3.4.2"],"fixed":["3.4.3"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2018-1136","https://github.com/moodle/moodle","https://moodle.org/mod/forum/discuss.php?d=371202","http://www.securityfocus.com/bid/104307"],"sources":[{"name":"OSV","id":"GHSA-xhfw-wjjc-4j5h","modified":"2024-04-23T23:58:48.649335Z","url":"https://osv.dev/vulnerability/GHSA-xhfw-wjjc-4j5h"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3}]}