CVE-2024-38274 json
moodle: stored XSS via calendar's event title when deleting the event
published 2024-06-18 2 y ago modified 2026-09-08 2 mo ago also BIT-moodle-2024-38274 , EUVD-2024-2117 , GHSA-p5cg-6rfr-6mx8
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
Insufficient escaping of calendar event titles resulted in a stored XSS risk in the event deletion prompt.
Patch / fix
- packagist moodle/moodle 4.1.11, 4.2.8, 4.3.5, 4.4.1
- bitnami moodle 4.1.11, 4.2.8, 4.3.5, 4.4.1
- moodle moodle 4.1.11, 4.2.8, 4.3.5
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-38274 updated
moodle: stored XSS via calendar's event title when deleting the event
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=4.4.0-beta, <4.4.1 >=4.3.0-beta, <4.3.5 >=4.2.0-beta, <4.2.8 <4.1.11 |
4.4.1 4.3.5 4.2.8 4.1.11 |
| bitnami | moodle | >=4.1.0, <4.1.11 >=4.2.0, <4.2.8 >=4.3.0, <4.3.5 >=4.4.0, <4.4.1 |
4.1.11 4.2.8 4.3.5 4.4.1 |
Affected products
- Moodle Moodle
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
moodle.org
/mod/forum/discuss.php?d=459499
web, vendor-advisory, advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/GHTIX55J4Q4LEOMLNEA4OZSWVEENQX7E/
mailing-list, discussion
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/F7AZYR7EXV6E5SQE2GYTNQE3NOENJCQ6/
mailing-list, discussion
-
nvd.nist.gov
/vuln/detail/CVE-2024-38274
advisory, web
-
github.com
/moodle/moodle
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/F7AZYR7EXV6E5SQE2GYTNQE3NOENJCQ6
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/GHTIX55J4Q4LEOMLNEA4OZSWVEENQX7E
web
Sources
- CVE List CVE-2024-38274
- GitHub Advisory GHSA-p5cg-6rfr-6mx8
- NVD CVE-2024-38274
- OSV BIT-moodle-2024-38274
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.