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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.09% (41st 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 (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MOODLEMOODLE-6673224
  • published24 Apr 2024
  • disclosed23 Nov 2022
  • creditBernardo Cabral

Introduced: 23 Nov 2022

CVE-2022-45151  (opens in a new tab)
CWE-79  (opens in a new tab)

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.

CVSS Scores

version 3.1