SQL Injection Affecting moodle/moodle package, versions >=3.9, <3.9.21>=3.11, <3.11.14>=4.0, <4.0.8>=4.1, <4.1.3


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.75% (82nd 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 SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MOODLEMOODLE-5490784
  • published3 May 2023
  • disclosed2 May 2023
  • creditPaul Holden

Introduced: 2 May 2023

CVE-2023-30944  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade moodle/moodle to version 3.9.21, 3.11.14, 4.0.8, 4.1.3 or higher.

Overview

moodle/moodle is a learning platform.

Affected versions of this package are vulnerable to SQL Injection due to insufficient sanitization of user-supplied data in external Wiki method for listing pages. A remote attacker can send a specially crafted request to the affected application and execute limited SQL commands within the application database.

CVSS Scores

version 3.1