CVE-2019-3847
MEDIUM 4.8CVSS 3.1Moodle XSS Vulnerability
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
- 27 Mar 2019
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-qrcj-6fjw-3h9h
- Sources
- NVDJSONOSV GHSA-qrcj-6fjw-3h9hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
< 3.1.17 | 3.1.17 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.4.0, < 3.4.8 | 3.4.8 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.5.0, < 3.5.5 | 3.5.5 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.6.0, < 3.6.3 | 3.6.3 |
| OSV | Packagist | moodle/moodle | >= 3.6.0, < 3.6.3 | 3.6.3 |
| OSV | Packagist | moodle/moodle | >= 3.5.0, < 3.5.5 | 3.5.5 |
| OSV | Packagist | moodle/moodle | >= 3.2.0, < 3.4.8 | 3.4.8 |
| OSV | Packagist | moodle/moodle | < 3.1.17 | 3.1.17 |
References
- http://www.securityfocus.com/bid/107489 · Broken Link, Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3847 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://moodle.org/mod/forum/discuss.php?d=384010#p1547742 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-3847 · ADVISORY
- https://github.com/moodle/moodle/commit/070f24d006eab6b958eb083530de159b43c538ed · WEB
- https://github.com/moodle/moodle/commit/93dda3bfd3caaaa8d23fe8ede543f27ef774958d · WEB
- https://github.com/moodle/moodle/commit/a37e26d2efe1ca0e4d8d69c611a748af35b33674 · WEB
- https://github.com/moodle/moodle/commit/e836242e1c04cd62d0afa4a790074fd245628e7a · WEB
- https://github.com/moodle/moodle/commit/ec3b63c772d6448765c68268234cf36c1a91bcac · WEB
- https://github.com/moodle/moodle · PACKAGE
- https://web.archive.org/web/20200227082922/http://www.securityfocus.com/bid/107489 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 27 Mar 2019)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)