GitHub Advisoryadvisory · Packagist
GHSA-qrcj-6fjw-3h9h Moodle XSS Vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2019-3847
- Ecosystem
- Packagist
- Packages
- moodle/moodle
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2023-07-18
Affected packages
• Packagist moodle/moodle: >= 3.6.0, < 3.6.3 → fixed in 3.6.3
• Packagist moodle/moodle: >= 3.5.0, < 3.5.5 → fixed in 3.5.5
• Packagist moodle/moodle: >= 3.2.0, < 3.4.8 → fixed in 3.4.8
• Packagist moodle/moodle: < 3.1.17 → fixed in 3.1.17
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.
Related
Alias · CVE (1)
- CVE-2019-3847 A vulnerability was found in moodle before versions 3.6.3, 3.5.5, 3.4.8 and 3.1.17. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- 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://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3847 web
- https://github.com/moodle/moodle package
- https://moodle.org/mod/forum/discuss.php?d=384010#p1547742 web
- https://web.archive.org/web/20200227082922/http://www.securityfocus.com/bid/107489 web