# CVE-2020-25702: Cross-site Scripting (XSS) in 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): 1.29%, higher than 71% of CVEs (2026-12-02)
- Published: 2020-11-19T16:17:03.000Z
- Modified: 2026-09-08T08:48:14.524Z
- Also known as: GHSA-pgcp-m69h-p2gr, BIT-MOODLE-2020-25702
- Weaknesses: CWE-79
- Assigned by: redhat

## Description

In Moodle, it was possible to include JavaScript when re-naming content bank items. Versions affected: 3.9 to 3.9.2. This is fixed in moodle 3.9.3 and 3.10.

(As written by CVE List.)

## Affected

- moodle: Fixed in 3.9.3, Fixed in 3.10
- moodle/moodle (Packagist): from 3.9.0 before 3.9.3
- moodle moodle: from 3.9 before 3.9.3
- fedoraproject fedora: 32; 33
- moodle (Bitnami): from 3.9.0 before 3.9.3

## 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://bugzilla.redhat.com/show_bug.cgi?id=1895437> (advisory, issue-tracking, vendor-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=413940> (advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25702> (advisory, web)
- <https://github.com/moodle/moodle/commit/66be08216e647532b295a9132070d2435ecd7ad9> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4NNFCHPPHRJNJROIX6SYMHOC6HMKP3GU> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B55KXBVAT45MDASJ3EK6VIGQOYGJ4NH6> (web)

## Sources

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

---

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