CVE-2019-3808
MEDIUM 5.4CVSS 3.1Moodle XSS Vulnerability
A flaw was found in Moodle versions 3.6 to 3.6.1, 3.5 to 3.5.3, 3.4 to 3.4.6, 3.1 to 3.1.15 and earlier unsupported versions. The 'manage groups' capability did not have the 'XSS risk' flag assigned to it, but does have that access in certain places. Note that the capability is intended for use by trusted users, and is only assigned to teachers and managers by default.
- Published
- 25 Mar 2019
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-4r2p-wpv5-683w
- Sources
- NVDJSONOSV GHSA-4r2p-wpv5-683wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | MEDIUM 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/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.0, <= 3.1.15 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.4.0, <= 3.4.6 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.5.0, <= 3.5.3 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:3.6.0:*:*:*:*:*:*:* |
= 3.6.0 | |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:3.6.1:*:*:*:*:*:*:* |
= 3.6.1 | |
| OSV | Packagist | moodle/moodle | >= 3.6.0, < 3.6.2 | 3.6.2 |
| OSV | Packagist | moodle/moodle | >= 3.5.0, < 3.5.4 | 3.5.4 |
| OSV | Packagist | moodle/moodle | >= 3.2.0, < 3.4.7 | 3.4.7 |
| OSV | Packagist | moodle/moodle | < 3.1.16 | 3.1.16 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-64395 · Patch, Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3808 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://moodle.org/mod/forum/discuss.php?d=381228#p1536765 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-3808 · ADVISORY
- https://github.com/moodle/moodle/commit/6360f87cdca744a6a71c315853f6d811a3e54e26 · WEB
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 25 Mar 2019)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)