CVE-2019-3847
Moodle 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.4
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.
- Record
CVE-2019-3847- CVSS 3.0
- 5.4 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2022-5022
5.4
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.
- Record
EUVD-2022-5022- CVSS 3.0
- 5.4 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qrcj-6fjw-3h9h
4.8
Moodle 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.
- Record
GHSA-qrcj-6fjw-3h9h- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
4.8
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.
- Record
CVE-2019-3847- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N - CVSS 3.0
- 5.4 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - CVSS 2.0
- 3.5 Low
AV:N/AC:M/Au:S/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
4.8
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.
- Record
CVE-2019-3847- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-qrcj-6fjw-3h9h
4.8
Moodle 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.
- Record
GHSA-qrcj-6fjw-3h9h- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-3847
4.8
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.
- Record
UBUNTU-CVE-2019-3847- CVSS 3.1
- 4.8 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N - CVSS 3.0
- 5.4 Medium
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
3.6.0 up to 3.6.3 | 3.6.3 |
moodle/moodlePackagist |
3.5.0 up to 3.5.5 | 3.5.5 |
moodle/moodlePackagist |
3.2.0 up to 3.4.8 | 3.4.8 |
moodle/moodlePackagist |
before 3.1.17 | 3.1.17 |
moodle/moodlePackagist |
3.6.0 up to 3.6.3, plus listed versions v3.6.0v3.6.1v3.6.2 |
3.6.3 |
moodle/moodlePackagist |
3.5.0 up to 3.5.5, plus listed versions v3.5.0v3.5.1v3.5.2v3.5.3v3.5.4 |
3.5.5 |
moodle/moodlePackagist |
3.2.0 up to 3.4.8, plus listed versions v3.2.0v3.2.1v3.2.2v3.2.3v3.2.4 Show 31 moreShow lessv3.2.5v3.2.6v3.2.7v3.2.8v3.2.9v3.3.0v3.3.0-betav3.3.0-rc1v3.3.0-rc2v3.3.0-rc3v3.3.1v3.3.2v3.3.3v3.3.4v3.3.5v3.3.6v3.3.7v3.3.8v3.3.9v3.4.0v3.4.0-betav3.4.0-rc1v3.4.0-rc2v3.4.0-rc3v3.4.1v3.4.2v3.4.3v3.4.4v3.4.5v3.4.6v3.4.7 |
3.4.8 |
moodle/moodlePackagist |
before 3.1.17, plus listed versions v2.3.10v2.3.11v2.3.4v2.3.5v2.3.6 Show 45 moreShow lessv2.3.7v2.3.8v2.3.9v2.4.0v2.4.0-rc1v2.4.1v2.4.10v2.4.11v2.4.2v2.4.3v2.4.4v2.4.5v2.4.6v2.4.7v2.4.8v2.4.9v2.5.0v2.5.0-betav2.5.0-rc1v2.5.1v2.5.2v2.5.3v2.5.4v2.5.5v2.5.6v2.5.7v2.5.8v2.5.9v2.6.0v2.6.0-betav2.6.0-rc1v2.6.1v2.6.10v2.6.11v2.6.2v2.6.3v2.6.4v2.6.5v2.6.6v2.6.7v2.6.8v2.6.9v2.7.0v2.7.0-betav2.7.0-rc1 |
3.1.17 |
moodleUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 2.7.9+dfsg-12.7.10+dfsg-12.7.11+dfsg-12.7.11+dfsg-22.7.12+dfsg-13.0.3+dfsg-0ubuntu13.0.3+dfsg-0ubuntu1+esm1 |
None known |
moodleUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 3.0.3+dfsg-0ubuntu13.0.3+dfsg-0ubuntu1+esm1 |
None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | danielthatcher/moodle-login-csrf | 2019-04-04 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-3847 is a medium vulnerability (CVSS 5.4) in [unknown] Moodle, published March 27, 2019. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 2.22%, the 82nd percentile. Fixed in moodle/moodle 3.6.3.
References
securityfocus.com/bid/107489
bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3847
moodle.org/mod/forum/discuss.php?d=384010
nvd.nist.gov/vuln/detail/CVE-2019-3847
github.com/moodle/moodle/commit/070f24d006eab6b958eb083530de159b43c538ed
github.com/moodle/moodle/commit/93dda3bfd3caaaa8d23fe8ede543f27ef774958d
Show 9 moreShow less
github.com/moodle/moodle/commit/a37e26d2efe1ca0e4d8d69c611a748af35b33674
github.com/moodle/moodle/commit/e836242e1c04cd62d0afa4a790074fd245628e7a
github.com/moodle/moodle/commit/ec3b63c772d6448765c68268234cf36c1a91bcac
web.archive.org/web/20200227082922/http://www.securityfocus.com/bid/107489
github.com/advisories/GHSA-qrcj-6fjw-3h9h
github.com/moodle/moodle
ubuntu.com/security/CVE-2019-3847
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-63786
cve.org/CVERecord?id=CVE-2019-3847
Left out here: 86 versions. The JSON record has them.