# CVE-2024-34006: moodle: unsanitized HTML in site log for config_log_created

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/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.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2024-05-31T20:36:08.390Z
- Modified: 2026-09-08T08:48:15.256Z
- Also known as: GHSA-vvh5-7v3m-j3mj, BIT-MOODLE-2024-34006
- Weaknesses: CWE-838
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## Description

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.

(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
- fedoraproject fedora: from 4.0 up to 4.3.3; from 4.1 up to 4.1.9; from 4.2 up to 4.2.6
- 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 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

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

## Sources

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

---

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