{"id":"CVE-2019-3847","details":"A vulnerability was found in moodle before versions 3.6.3, 3.5.5, 3.4.8 and 3.1.17. Users with the \"login as other users\" capability (such as administrators/managers) can access other users' Dashboards, but the JavaScript those other users may have added to their Dashboard was not being escaped when being viewed by the user logging in on their behalf.","aliases":["GHSA-qrcj-6fjw-3h9h"],"modified":"2026-10-24T10:30:26.039768061Z","published":"2019-03-27T13:29:01.757Z","database_specific":{},"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/107489"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3847"},{"type":"FIX","url":"https://moodle.org/mod/forum/discuss.php?d=384010#p1547742"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moodle/moodle","events":[{"introduced":"0"},{"fixed":"1f48e99be13e1dae1847b143bd90a27a39e09aab"},{"introduced":"665c3ac59c35b7387a4fc70b8ac6600ce9ffeb87"},{"fixed":"52bd62f2be983a1b8afb26b0f9bd08c60cbfd2e6"},{"introduced":"46574904afd39578fa4146bf1fc5c401ac680aa6"},{"fixed":"5e878219fbe7ab63d2a54ed02aff63443fb83192"},{"introduced":"cb628a9a08933c2a9f1eae2f3be70ea5d343b419"},{"fixed":"4d3a32dde97e964ad4512c35d15a1784c69c247e"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"3.1.17"}]},{"range":[{"introduced":"3.4.0"},{"fixed":"3.4.8"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","range":[{"introduced":"3.5.0"},{"fixed":"3.5.5"}],"source":"CPE_RANGE"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","range":[{"introduced":"3.6.0"},{"fixed":"3.6.3"}]}]}}],"versions":["v3.1.16","v3.5.4","v3.6.2","v3.4.7","v3.6.0","v3.6.1","v3.1.15","v3.5.3","v3.4.6","v3.4.5","v3.5.2","v3.1.14","v3.1.13","v3.4.4","v3.5.1","v3.4.3","v3.5.0","v3.1.12","v3.1.11","v3.4.2","v3.4.1","v3.1.10","v3.4.0","v3.1.9","v3.1.8","v3.1.7","v3.1.6","v3.1.5","v3.1.4","v3.1.3","v3.1.2","v3.1.1","v3.1.0-beta","v3.1.0","v3.1.0-rc2","v3.1.0-rc1","v3.0.0-rc3","v3.0.0","v3.0.0-rc4","v3.0.0-rc2","v3.0.0-rc1","v3.0.0-beta","v2.9.0","v2.9.0-rc2","v2.9.0-rc1","v2.9.0-beta","v2.8.0","v2.8.0-rc2","v2.8.0-rc1","v2.8.0-beta","v2.7.0","v2.7.0-rc2","v2.7.0-rc1","v2.7.0-beta","v2.6.0","v2.6.0-rc1","v2.6.0-beta","v2.5.0","v2.5.0-rc1","v2.5.0-beta","v2.4.0-beta","v2.4.0-rc1","v2.4.0","v2.3.0","v2.3.0-rc1","v2.3.0-beta","v2.2.0","v2.2.0-rc1","v2.2.0-beta","v2.1.0","v2.0.1","v2.0.0","v2.0.0-rc2","v2.0.0-rc1","v1.3.0","v1.2.1","v1.2.0","v1.1.1","v1.1.0","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-3847.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"}]}