Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Affecting moodle/moodle package, versions >=2.8, <2.8.10>=2.9, <2.9.4>=3.0, <3.0.2


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.21% (61st 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-6673225
  • published24 Apr 2024
  • disclosed13 May 2022
  • creditOliveira Lima

Introduced: 13 May 2022

CVE-2016-0725  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 2.8.10, 2.9.4, 3.0.2 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') via the search_pagination function in course/classes/management_renderer.php. An attacker can inject arbitrary web script or HTML through a crafted search string.