# CVE-2024-38274: moodle: stored XSS via calendar's event title when deleting the event

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `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.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2024-06-18T19:49:15.739Z
- Modified: 2026-09-08T08:48:15.259Z
- Also known as: GHSA-p5cg-6rfr-6mx8, BIT-MOODLE-2024-38274
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## Description

Insufficient escaping of calendar event titles resulted in a stored XSS risk in the event deletion prompt.

(As written by CVE List.)

## Affected

- Moodle Moodle: 4.4; from 4.3 up to 4.3.4; from 4.2 up to 4.2.7; from 4.1 up to 4.1.10; from 4.1.0 before 4.1.11; from 4.2.0 before 4.2.8; from 4.3.0 before 4.3.5; 4.4.0
- moodle/moodle (Packagist): from 4.4.0-beta before 4.4.1; from 4.3.0-beta before 4.3.5; from 4.2.0-beta before 4.2.8; before 4.1.11
- fedoraproject fedora: 39; 40
- moodle (Bitnami): from 4.1.0 before 4.1.11; from 4.2.0 before 4.2.8; from 4.3.0 before 4.3.5; from 4.4.0 before 4.4.1

## Every score

- CISA-ADP: 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`
- 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`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://moodle.org/mod/forum/discuss.php?d=459499> (advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GHTIX55J4Q4LEOMLNEA4OZSWVEENQX7E/> (discussion, mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F7AZYR7EXV6E5SQE2GYTNQE3NOENJCQ6/> (discussion, mailing-list)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38274> (advisory, web)
- <https://github.com/moodle/moodle> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F7AZYR7EXV6E5SQE2GYTNQE3NOENJCQ6> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GHTIX55J4Q4LEOMLNEA4OZSWVEENQX7E> (web)

## Sources

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

---

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