VDB
Sign up
LOW3.4

GHSA-h697-w4ph-7pcx

Moodle has a stored XSS in ddimageortext question type

Quick fix

GHSA-h697-w4ph-7pcx — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.5.2

Details

The drag-and-drop onto image (ddimageortext) question type required additional sanitizing to prevent a stored XSS risk.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.5.0-betaFixed in: 4.5.2
Fixcomposer require moodle/moodle:^4.5.2
Packagist/moodle/moodle
Introduced in: 4.4.0-betaFixed in: 4.4.6
Fixcomposer require moodle/moodle:^4.4.6
Packagist/moodle/moodle
Introduced in: 4.3.0-betaFixed in: 4.3.10
Fixcomposer require moodle/moodle:^4.3.10
Packagist/moodle/moodle
Introduced in: 0Fixed in: 4.1.16
Fixcomposer require moodle/moodle:^4.1.16

References