GitHub Advisoryadvisory · Packagist
GHSA-vvh5-7v3m-j3mj Moodle Unsanitized HTML in site log for config_log_created
MEDIUM
Official page ↗
- Aliases
- CVE-2024-34006
- Ecosystem
- Packagist
- Packages
- moodle/moodle
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-838
- Reviewed
- 2024-06-04
Affected packages
• Packagist moodle/moodle: >= 4.3.0, < 4.3.4 → fixed in 4.3.4
• Packagist moodle/moodle: >= 4.2.0, < 4.2.7 → fixed in 4.2.7
• Packagist moodle/moodle: < 4.1.10 → fixed in 4.1.10
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.
Related
Alias · CVE (1)
- CVE-2024-34006 The site log report required additional encoding of event descriptions to ensure any HTML in the content is displayed in plaintext instead… vulnerability
Weakness · CWE (1)
- CWE-838 Inappropriate Encoding for Output Context weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-34006 advisory
- https://github.com/moodle/moodle/commit/cd85e090f3feb06e6eff65d1499a67353d82d3cb web
- https://github.com/moodle/moodle package
- https://moodle.org/mod/forum/discuss.php?d=458395 web
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-80585 web