# CVE-2020-25627: Moodle stored Cross-site Scripting (XSS)

- 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): 3.72%, higher than 90% of CVEs (2026-12-01)
- Published: 2020-12-09T00:04:20.000Z
- Modified: 2026-09-08T08:48:14.522Z
- Also known as: GHSA-mgfp-qcf2-pw3m, BIT-MOODLE-2020-25627
- Weaknesses: CWE-79
- Assigned by: redhat

## Description

The moodlenetprofile user profile field required extra sanitizing to prevent a stored XSS risk. This affects versions 3.9 to 3.9.1. Fixed in 3.9.2.

(As written by CVE List.)

## Affected

- Moodle: 3.9 to 3.9.1
- moodle/moodle (Packagist): from 3.9 before 3.9.2
- moodle moodle: from 3.9.0 before 3.9.2
- moodle (Bitnami): 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

- <https://moodle.org/mod/forum/discuss.php?d=410839> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25627> (advisory, web)
- <https://github.com/moodle/moodle> (package)

## Sources

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

---

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