# CVE-2023-5547: Moodle: xss risk when previewing data in course upload tool

- Severity: Low 3.3 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/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.53%, higher than 46% of CVEs (2026-12-02)
- Published: 2023-11-09T19:35:24.575Z
- Modified: 2026-09-10T03:49:58.953Z
- Also known as: GHSA-9gqp-3g28-w9xc, BIT-MOODLE-2023-5547
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## Description

The course upload preview contained an XSS risk for users uploading unsafe data.

(As written by CVE List.)

## Affected

- moodle: from 4.2.0 before 4.2.3; from 4.1.0 before 4.1.6; from 4.0.0 before 4.0.11; from 3.11.0 before 3.11.17; before 3.9.24
- moodle/moodle (Packagist): before 4.3.0-rc2
- moodle moodle: from 3.9.0 before 3.9.24; from 3.11.0 before 3.11.17; from 4.0.0 before 4.0.11; from 4.1.0 before 4.1.6; from 4.2.0 before 4.2.3
- redhat enterprise_linux: 7.0
- fedoraproject fedora: 37; 38; 39
- moodle (Bitnami): from 3.9.0 before 3.9.24; from 3.11.0 before 3.11.17; from 4.0.0 before 4.0.11; from 4.1.0 before 4.1.6; from 4.2.0 before 4.2.3

## Every score

- fedora: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- 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`
- Bitnami Vulnerability Database: rating Medium

## References

- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79455> (fix, patch, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2243447> (issue-tracking, report, web)
- <https://moodle.org/mod/forum/discuss.php?d=451588> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-5547> (advisory, web)
- <https://github.com/moodle/moodle/commit/833e818f022cce8373922afaa0cc6c8726b6b079> (web)
- <https://github.com/moodle/moodle/commit/ef67f43c67e00c271658e42fc2e9cbe5fc94a87e> (web)
- <https://github.com/moodle/moodle> (package)

## Sources

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

---

Page: https://cve.day/CVE-2023-5547 · Whole record: https://cve.day/CVE-2023-5547.json · Rebuilt by cve.day 2026-11-25T22:58:30.286Z
