CVE-2019-3847Moodle
Medium 4.8
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.8
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 83
- Auth required
- Yes
- Published
- Mar 27, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Moodle.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 3.6.0 < 3.6.3 |
3.6.3 |
composer require "moodle/moodle:^3.6.3" |
| Packagist | moodle/moodle |
≥ 3.5.0 < 3.5.5 |
3.5.5 |
composer require "moodle/moodle:^3.5.5" |
| Packagist | moodle/moodle |
≥ 3.2.0 < 3.4.8 |
3.4.8 |
composer require "moodle/moodle:^3.4.8" |
| Packagist | moodle/moodle |
< 3.1.17 |
3.1.17 |
composer require "moodle/moodle:^3.1.17" |
Per OSV / GitHub Advisories (GHSA-qrcj-6fjw-3h9h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | < 3.1.17 |
| moodle | moodle | ≥ 3.4.0 < 3.4.8 |
| moodle | moodle | ≥ 3.5.0 < 3.5.5 |
| moodle | moodle | ≥ 3.6.0 < 3.6.3 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- moodle.org Patch Vendor Advisory