Inappropriate Encoding for Output Affecting moodle/moodle package, versions >=4.0.0, <4.1.10>=4.2.0, <4.2.7>=4.3.0, <4.3.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-MOODLEMOODLE-7175988
  • published2 Jun 2024
  • disclosed31 May 2024
  • creditUnknown

Introduced: 31 May 2024

CVE-2024-34006  (opens in a new tab)
CWE-838  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 4.1.10, 4.2.7, 4.3.4 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Inappropriate Encoding for Output due to insufficient encoding of event descriptions in the site log report. An attacker can inject malicious HTML or scripts that are rendered by the browser by submitting crafted content that appears legitimate.

References

CVSS Scores

version 3.1