Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Affecting moodle/moodle package, versions <3.1.4>=3.2, <3.2.1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.08% (35th 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 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MOODLEMOODLE-6673209
  • published24 Apr 2024
  • disclosed17 May 2022
  • creditAgo Luberg, Wael AbuSeada

Introduced: 17 May 2022

CVE-2017-2578  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 3.1.4, 3.2.1 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') due to improper sanitization of user-supplied input in the assignment submission page. An attacker can inject malicious scripts by submitting crafted input.