Cross-Site Scripting (XSS) Affecting moodle/moodle package, versions <3.9.18 >=3.11, <3.11.11 >=4.0, <4.0.5


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Scope Changed

    Threat Intelligence

    EPSS 0.12% (47th percentile)
Expand this section
NVD
6.1 medium

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 ID SNYK-PHP-MOODLEMOODLE-6673219
  • published 24 Apr 2024
  • disclosed 23 Nov 2022
  • credit Eric Merrill

How to fix?

Upgrade moodle/moodle to version 3.9.18, 3.11.11, 4.0.5 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Cross-Site Scripting (XSS) due to insufficient sanitization of user-supplied data in the policy tool. An attacker can trick the victim to open a specially crafted link that executes arbitrary HTML and script code in the user's browser in the context of the vulnerable website. This vulnerability may allow an attacker to perform attacks to gain access to potentially sensitive information and modification of web pages.