Cross-Site Scripting (XSS) Affecting moodle/moodle package, versions >=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.11% (45th percentile)
Expand this section
NVD
5.4 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-6673224
  • published 24 Apr 2024
  • disclosed 23 Nov 2022
  • credit Bernardo Cabral

How to fix?

Upgrade moodle/moodle to version 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 several "social" user profile fields. An attacker could inject and execute arbitrary HTML and script code in user's browser in context of the vulnerable website.