CVE-2019-3847 json
Moodle XSS Vulnerability
published 7y ago modified 4mo ago also GHSA-qrcj-6fjw-3h9h , EUVD-2022-5022
- cvss
- 5.4
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist moodle/moodle 3.1.17, 3.4.8, 3.5.5, 3.6.3
- moodle moodle 3.1.17, 3.4.8, 3.5.5, 3.6.3
- github.com/moodle/moodle@070f24d commit
- github.com/moodle/moodle@93dda3b commit
- github.com/moodle/moodle@a37e26d commit
- github.com/moodle/moodle@e836242 commit
- github.com/moodle/moodle@ec3b63c commit
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3847 advisory
- moodle.org/mod/forum/discuss.php?d=384010#p1547742 advisory
Is CVE-2019-3847 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-3847 updated cvss 5.4
moodle: "Log in as" functionality exposed to JavaScript risk on other users' Dashboards
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.22% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=3.6.0, <3.6.3 >=3.5.0, <3.5.5 >=3.2.0, <3.4.8 <3.1.17 |
3.6.3 3.5.5 3.4.8 3.1.17 |
Affected products
- [UNKNOWN] Moodle
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2019-3847
web, issue-tracking, patch, third-party-advisory
-
moodle.org
/mod/forum/discuss.php?d=384010#p1547742
web, patch, vendor-advisory
-
github.com
/moodle/moodle/commit/070f24d006eab6b958eb083530de159b43c538ed
web
-
github.com
/moodle/moodle/commit/93dda3bfd3caaaa8d23fe8ede543f27ef774958d
web
-
github.com
/moodle/moodle/commit/a37e26d2efe1ca0e4d8d69c611a748af35b33674
web
-
github.com
/moodle/moodle/commit/e836242e1c04cd62d0afa4a790074fd245628e7a
web
-
github.com
/moodle/moodle/commit/ec3b63c772d6448765c68268234cf36c1a91bcac
web
-
securityfocus.com
/bid/107489
vdb-entry, broken-link, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-3847
advisory
-
github.com
/moodle/moodle
package
-
web.archive.org
/web/20200227082922/http://www.securityfocus.com/bid/107489
web
Sources
- CVE List CVE-2019-3847
- GitHub Advisory GHSA-qrcj-6fjw-3h9h
- NVD CVE-2019-3847
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.