VDB
Sign up
MEDIUM4.3

GHSA-c5hf-mc85-2hx4

Missing authorization in Moodle

Quick fix

GHSA-c5hf-mc85-2hx4 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.11.6

Details

Users with the capability to configure badge criteria (teachers and managers by default) were able to configure course badges with profile field criteria, which should only be available for site badges.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.11.0Fixed in: 3.11.6
Fixcomposer require moodle/moodle:^3.11.6
Packagist/moodle/moodle
Introduced in: 3.10.0Fixed in: 3.10.10
Fixcomposer require moodle/moodle:^3.10.10
Packagist/moodle/moodle
Introduced in: 0Fixed in: 3.9.13
Fixcomposer require moodle/moodle:^3.9.13

References