{"api_version":"1","generated_at":"2026-07-24T18:22:13+00:00","cve":"CVE-2019-3847","urls":{"html":"https://cve.report/CVE-2019-3847","api":"https://cve.report/api/cve/CVE-2019-3847.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-3847","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-3847"},"summary":{"title":"CVE-2019-3847","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2019-03-27 13:29:00","updated_at":"2022-11-07 19:10:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3847","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3847","refsource":"CONFIRM","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"1692898 – (CVE-2019-3847) CVE-2019-3847 moodle: \"Log in as\" functionality exposed to JavaScript risk on other users' Dashboards","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://moodle.org/mod/forum/discuss.php?d=384010#p1547742","name":"https://moodle.org/mod/forum/discuss.php?d=384010#p1547742","refsource":"MISC","tags":["Patch","Vendor Advisory"],"title":"Moodle.org: MSA-19-0004: \"Log in as\" functionality exposed to JavaScript risk on other users' Dashboards","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/107489","name":"107489","refsource":"BID","tags":[],"title":"Moodle CVE-2019-3847 Security Bypass Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-3847","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3847","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"3847","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"moodle","cpe5":"moodle","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"3847","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"moodle","cpe5":"moodle","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2019-3847","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"[UNKNOWN]","product":{"product_data":[{"product_name":"Moodle","version":{"version_data":[{"version_value":"3.6 to 3.6.2"},{"version_value":"3.5 to 3.5.4"},{"version_value":"3.4 to 3.4.7"},{"version_value":"3.1 to 3.1.16 and earlier unsupported versions"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79"}]}]},"references":{"reference_data":[{"refsource":"BID","name":"107489","url":"http://www.securityfocus.com/bid/107489"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3847","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3847","refsource":"CONFIRM"},{"url":"https://moodle.org/mod/forum/discuss.php?d=384010#p1547742","refsource":"MISC","name":"https://moodle.org/mod/forum/discuss.php?d=384010#p1547742"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":[[{"vectorString":"5.4/CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.0"}]]}},"nvd":{"publishedDate":"2019-03-27 13:29:00","lastModifiedDate":"2022-11-07 19:10:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.7,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":3.5},"severity":"LOW","exploitabilityScore":6.8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5.0","versionEndExcluding":"3.5.5","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","versionStartIncluding":"3.6.0","versionEndExcluding":"3.6.3","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","versionEndExcluding":"3.1.17","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","versionStartIncluding":"3.4.0","versionEndExcluding":"3.4.8","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"3847","Ordinal":"141456","Title":"CVE-2019-3847","CVE":"CVE-2019-3847","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"3847","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"3847","Ordinal":"2","NoteData":"2019-03-27","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"3847","Ordinal":"3","NoteData":"2019-04-04","Type":"Other","Title":"Modified"}]}}}