# CVE-2020-25628: Cross site-scripting (XSS) moodle

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/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.98%, higher than 63% of CVEs (2026-12-02)
- Published: 2020-12-08T00:22:21.000Z
- Modified: 2026-09-08T08:48:14.590Z
- Also known as: GHSA-5x33-h32w-6vr2, BIT-MOODLE-2020-25628
- Weaknesses: CWE-79
- Assigned by: redhat

## Description

The filter in the tag manager required extra sanitizing to prevent a reflected XSS risk. This affects 3.9 to 3.9.1, 3.8 to 3.8.4, 3.7 to 3.7.7, 3.5 to 3.5.13 and earlier unsupported versions. Fixed in 3.9.2, 3.8.5, 3.7.8 and 3.5.14.

(As written by CVE List.)

## Affected

- Moodle: 3.9 to 3.9.1; 3.8 to 3.8.4; 3.7 to 3.7.7; 3.5 to 3.5.13; earlier unsupported versions
- moodle/moodle (Packagist): from 3.9.0 before 3.9.2; from 3.8.0 before 3.8.5; from 3.7.0 before 3.7.8; from 3.5 before 3.5.14
- moodle moodle: from 3.5.0 before 3.5.14; from 3.7.0 before 3.7.8; from 3.8.0 before 3.8.5; from 3.9.0 before 3.9.2
- moodle (Bitnami): from 3.5.0 before 3.5.14; from 3.7.0 before 3.7.8; from 3.8.0 before 3.8.5; from 3.9.0 before 3.9.2

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-69340> (advisory, mailing-list, patch, vendor-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=410840> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25628> (advisory, web)
- <https://github.com/moodle/moodle/commit/e8632a4ad0b4da3763cbbe5949594aa449b483bb> (web)

## Sources

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

---

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