VDB
Sign up
MEDIUM5.4

GHSA-fm6m-fg23-67jq

Moodle Cross-site Scripting vulnerability

Quick fix

GHSA-fm6m-fg23-67jq — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.11.10

Details

In certain Moodle products after creating a course, it is possible to add in a arbitrary "Topic" a resource, in this case a "Database" with the type "Text" where its values "Field name" and "Field description" are vulnerable to Cross Site Scripting Stored(XSS). This affects Moodle 3.11.x prior to 3.11.10, Moodle 3.10.4, and Moodle 3.9.7.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0

No fixed version published yet for moodle/moodle (composer). Pin to a known-safe version or switch to an alternative.

Packagist/moodle/moodle
Introduced in: 3.10.0

No fixed version published yet for moodle/moodle (composer). Pin to a known-safe version or switch to an alternative.

Packagist/moodle/moodle
Introduced in: 3.11.0Fixed in: 3.11.10
Fixcomposer require moodle/moodle:^3.11.10

References