# CVE-2020-1691: Moodle XSS Vulnerability

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- 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): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2022-08-05T15:21:45.000Z
- Modified: 2026-09-08T08:48:14.712Z
- Also known as: GHSA-cwhp-rqfr-8462, BIT-MOODLE-2020-1691
- Weaknesses: CWE-79
- Assigned by: redhat

## Description

In Moodle 3.8, messages required extra sanitizing before updating the conversation overview, to prevent the risk of stored cross-site scripting.

(As written by CVE List.)

## Affected

- Moodle: 3.8
- moodle/moodle (Packagist): from 3.8 before 3.8.1
- moodle moodle: 3.8.0
- moodle (Bitnami): from 3.8.0 before 3.8.1

## Every score

- 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`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://moodle.org/mod/forum/discuss.php?d=395953> (advisory, issue-tracking, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-1691> (advisory, web)
- <https://github.com/moodle/moodle/commit/4e809346537e230cbff8235bfee0e7e151e4e9f9> (web)

## Sources

- CVE List: [CVE-2020-1691](https://www.cve.org/CVERecord?id=CVE-2020-1691), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-cwhp-rqfr-8462](https://github.com/advisories/GHSA-cwhp-rqfr-8462), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2020-1691](https://nvd.nist.gov/vuln/detail/CVE-2020-1691), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2020-1691](https://osv.dev/vulnerability/BIT-MOODLE-2020-1691), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-1691 · Whole record: https://cve.day/CVE-2020-1691.json · Rebuilt by cve.day 2026-11-25T22:57:58.695Z
