{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-3847","id":"CVE-2019-3847","title":"Moodle XSS Vulnerability","description":"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.","descriptionLong":"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.","published":"2019-03-27T00:00:00.000Z","updated":"2026-10-24T10:30:26.039768061Z","reserved":"2019-01-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"redhat"},{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"redhat.com"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["[UNKNOWN] Moodle"],"affectedProducts":[{"vendor":"[UNKNOWN]","product":"Moodle","defaultStatus":null,"versions":[{"version":"3.6 to 3.6.2","status":"affected"},{"version":"3.5 to 3.5.4","status":"affected"},{"version":"3.4 to 3.4.7","status":"affected"},{"version":"3.1 to 3.1.16 and earlier unsupported versions","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[">=3.6.0 <3.6.3",">=3.5.0 <3.5.5",">=3.2.0 <3.4.8","<3.1.17"],"fixed":["3.6.3","3.5.5","3.4.8","3.1.17"],"advisory":"GHSA-qrcj-6fjw-3h9h"}],"cwes":["CWE-79"],"aliases":["GHSA-qrcj-6fjw-3h9h"],"references":[{"url":"http://www.securityfocus.com/bid/107489","tags":["vdb-entry","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3847","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=384010#p1547742","tags":["x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3847","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/070f24d006eab6b958eb083530de159b43c538ed","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/93dda3bfd3caaaa8d23fe8ede543f27ef774958d","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/a37e26d2efe1ca0e4d8d69c611a748af35b33674","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/e836242e1c04cd62d0afa4a790074fd245628e7a","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/ec3b63c772d6448765c68268234cf36c1a91bcac","tags":["web"]},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://web.archive.org/web/20200227082922/http://www.securityfocus.com/bid/107489","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02224,"epssPercentile":0.8306,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-3847","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3847","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-3847","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qrcj-6fjw-3h9h","ok":true,"note":"GHSA-qrcj-6fjw-3h9h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-3847","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}