CVE-2024-38274: Moodle stored XSS via calendar's event title when deleting the event
Insufficient escaping of calendar event titles resulted in a stored XSS risk in the event deletion prompt.
Published Jun 18, 2024 · Updated Aug 4, 2024
Affected packages
moodle/moodle
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.4.0-beta, < 4.4.1
- Fixed in
- 4.4.1
- Check
composer show moodle/moodle
moodle/moodle
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.3.0-beta, < 4.3.5
- Fixed in
- 4.3.5
- Check
composer show moodle/moodle
moodle/moodle
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.2.0-beta, < 4.2.8
- Fixed in
- 4.2.8
- Check
composer show moodle/moodle
moodle/moodle
- Ecosystem
- Composer (PHP)
- Affected
- < 4.1.11
- Fixed in
- 4.1.11
- Check
composer show moodle/moodle
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Insufficient escaping of calendar event titles resulted in a stored XSS risk in the event deletion prompt.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38274
- https://moodle.org/mod/forum/discuss.php?d=459499
- https://lists.fedoraproject.org/archives/list/[email protected]/message/F7AZYR7EXV6E5SQE2GYTNQE3NOENJCQ6
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GHTIX55J4Q4LEOMLNEA4OZSWVEENQX7E
- https://github.com/advisories/GHSA-p5cg-6rfr-6mx8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-26045
Moodle has a Remote Code Execution risk via file restore
high7.2Feb 21, 2026CVE-2026-26047
Moodle TeX formula editor is vulnerable to DoS through lack of execution time limits
medium6.5Feb 21, 2026CVE-2025-67848
Moodle authentication bypass vulnerability
high8.1Feb 3, 2026CVE-2025-67849
Moodle Cross-site Scripting (XSS) vulnerability
high7.3Feb 3, 2026CVE-2025-67850
Moodle vulnerable to Cross-site Scripting
high7.3Feb 3, 2026CVE-2025-67851
Moodle formula injection vulnerability
medium6.1Feb 3, 2026
