VDB
Sign up
MEDIUM4.3

GHSA-vvh5-7v3m-j3mj

Moodle Unsanitized HTML in site log for config_log_created

Quick fix

GHSA-vvh5-7v3m-j3mj — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.3.4

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.3.0Fixed in: 4.3.4
Fixcomposer require moodle/moodle:^4.3.4
Packagist/moodle/moodle
Introduced in: 4.2.0Fixed in: 4.2.7
Fixcomposer require moodle/moodle:^4.2.7
Packagist/moodle/moodle
Introduced in: 0Fixed in: 4.1.10
Fixcomposer require moodle/moodle:^4.1.10

References