Cross-site Scripting Affecting moodle/moodle package, versions >=2.6.0, <2.6.6>=2.7.0, <2.7.3


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.12% (48th 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 Learn

Learn about Cross-site Scripting vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MOODLEMOODLE-6189492
  • published25 Jan 2024
  • disclosed13 May 2022
  • creditPetr Skoda

Introduced: 13 May 2022

CVE-2014-7835  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 2.6.6, 2.7.3 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Cross-site Scripting via the webservice/upload.php endpoint. An attacker can inject malicious JavaScript and execute it in the context of the user's browser session by uploading a file to an area that is not properly restricted, such as the profile-picture area.

CVSS Scores

version 3.1