# CVE-2019-3808: Moodle XSS Vulnerability

- Severity: Medium 4.3 (CVSS:3.0, scored by redhat) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.23%, higher than 69% of CVEs (2026-12-01)
- Published: 2019-03-25T17:28:32.000Z
- Modified: 2026-06-17T02:35:37.900Z
- Also known as: GHSA-4r2p-wpv5-683w
- Weaknesses: CWE-79
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- [UNKNOWN] moodle: 3.6.2; 3.5.4; 3.4.7; 3.1.16
- moodle/moodle (Packagist): from 3.6.0 before 3.6.2; from 3.5.0 before 3.5.4; from 3.2.0 before 3.4.7; before 3.1.16
- moodle moodle: from 3.1.0 up to 3.1.15; from 3.4.0 up to 3.4.6; from 3.5.0 up to 3.5.3; 3.6.0; 3.6.1

## Every score

- redhat: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`

## References

- <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)
- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-64395> (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)

## Sources

- CVE List: [CVE-2019-3808](https://www.cve.org/CVERecord?id=CVE-2019-3808), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-4r2p-wpv5-683w](https://github.com/advisories/GHSA-4r2p-wpv5-683w), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2019-3808](https://nvd.nist.gov/vuln/detail/CVE-2019-3808), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-3808 · Whole record: https://cve.day/CVE-2019-3808.json · Rebuilt by cve.day 2026-11-25T22:57:44.134Z
