VDB
Sign up
MEDIUM5.4

GHSA-hxgg-4qww-85ph

Moodle has reflected Cross-site Scripting risk in policy tool

Quick fix

GHSA-hxgg-4qww-85ph — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.1.18

Details

A flaw was found in Moodle. The return URL in the policy tool required additional sanitizing to prevent a reflected Cross-site scripting (XSS) risk.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 4.1.18
Fixcomposer require moodle/moodle:^4.1.18
Packagist/moodle/moodle
Introduced in: 4.3.0-betaFixed in: 4.3.12
Fixcomposer require moodle/moodle:^4.3.12
Packagist/moodle/moodle
Introduced in: 4.4.0-betaFixed in: 4.4.8
Fixcomposer require moodle/moodle:^4.4.8
Packagist/moodle/moodle
Introduced in: 4.5.0-betaFixed in: 4.5.4
Fixcomposer require moodle/moodle:^4.5.4

References