CVE-2024-34006 json
moodle: unsanitized HTML in site log for config_log_created
published 2024-05-31 2 y ago modified 2026-09-08 2 mo ago also BIT-moodle-2024-34006 , EUVD-2024-1818 , GHSA-vvh5-7v3m-j3mj
- cvss
- 4.3
- 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 29%
- public exploits
- 0
- none known
Summary
The site log report required additional encoding of event descriptions to ensure any HTML in the content is displayed in plaintext instead of being rendered.
Patch / fix
- packagist moodle/moodle 4.1.10, 4.2.7, 4.3.4
- bitnami moodle 4.1.10, 4.2.7, 4.3.4
- moodle moodle 4.1.10, 4.2.7, 4.3.4
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-34006 updated
moodle: unsanitized HTML in site log for config_log_created
-
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.36% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=4.3.0, <4.3.4 >=4.2.0, <4.2.7 <4.1.10 |
4.3.4 4.2.7 4.1.10 |
| bitnami | moodle | <4.1.10 >=4.2.0, <4.2.7 >=4.3.0, <4.3.4 |
4.1.10 4.2.7 4.3.4 |
Affected products
- fedoraproject fedora
Classification
- Weakness
-
- CWE-838 Inappropriate Encoding for Output Context
References
-
github.com
/moodle/moodle/commit/cd85e090f3feb06e6eff65d1499a67353d82d3cb
web
-
moodle.org
/mod/forum/discuss.php?d=458395
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-34006
advisory, web
-
github.com
/moodle/moodle
package
-
git.moodle.org
/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-80585
web
Sources
- CVE List CVE-2024-34006
- GitHub Advisory GHSA-vvh5-7v3m-j3mj
- NVD CVE-2024-34006
- OSV BIT-moodle-2024-34006
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.