Skip to content

Moodle Unsanitized HTML in site log for config_log_created

Moderate severity GitHub Reviewed Published May 31, 2024 to the GitHub Advisory Database • Updated Jul 5, 2024

Package

composer moodle/moodle (Composer)

Affected versions

>= 4.3.0, < 4.3.4
>= 4.2.0, < 4.2.7
< 4.1.10

Patched versions

4.3.4
4.2.7
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.

References

Published by the National Vulnerability Database May 31, 2024
Published to the GitHub Advisory Database May 31, 2024
Reviewed Jun 4, 2024
Last updated Jul 5, 2024

Severity

Moderate
4.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Weaknesses

CVE ID

CVE-2024-34006

GHSA ID

GHSA-vvh5-7v3m-j3mj

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.