# CVE-2024-33998: moodle: stored XSS via user's name on participants page when opening some options

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `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.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2024-05-31T19:46:13.685Z
- Modified: 2026-09-08T08:48:15.459Z
- Also known as: GHSA-xqhh-253w-4q5f, BIT-MOODLE-2024-33998
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## Description

Insufficient escaping of participants' names in the participants page table resulted in a stored XSS risk when interacting with some features.

(As written by CVE List.)

## Affected

- Moodle: from 4.0 up to 4.3.3; from 4.2 up to 4.2.6; from 4.1 up to 4.1.9
- moodle/moodle (Packagist): from 4.3.0 before 4.3.4; from 4.2.0 before 4.2.7; before 4.1.10
- moodle moodle: before 4.1.10; from 4.2.0 before 4.2.7; from 4.3.0 before 4.3.4
- moodle (Bitnami): before 4.1.10; from 4.2.0 before 4.2.7; from 4.3.0 before 4.3.4

## Every score

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

## References

- <https://moodle.org/mod/forum/discuss.php?d=458386> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-33998> (advisory, web)
- <https://github.com/moodle/moodle/commit/66da9394993d97861f6c80bc4ec4ee9b513d2f33> (web)
- <https://github.com/moodle/moodle> (package)
- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-81354> (web)

## Sources

- CVE List: [CVE-2024-33998](https://www.cve.org/CVERecord?id=CVE-2024-33998), CVE Terms of Use, modified 2025-03-28
- GitHub Advisory Database: [GHSA-xqhh-253w-4q5f](https://github.com/advisories/GHSA-xqhh-253w-4q5f), CC-BY-4.0, modified 2025-05-31
- NVD: [CVE-2024-33998](https://nvd.nist.gov/vuln/detail/CVE-2024-33998), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2024-33998](https://osv.dev/vulnerability/BIT-MOODLE-2024-33998), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-33998 · Whole record: https://cve.day/CVE-2024-33998.json · Rebuilt by cve.day 2026-11-25T22:58:41.337Z
