VDB
Sign up
MEDIUM6.1

GHSA-9f45-9qrw-pp4v

Moodle vulnerable to Cross-site Scripting when algebra filter enabled but not functional

Quick fix

GHSA-9f45-9qrw-pp4v — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.1.2

Details

If the algebra filter was enabled but not functional (eg the necessary binaries were missing from the server), it presented an XSS risk.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 4.1.0Fixed in: 4.1.2
Fixcomposer require moodle/moodle:^4.1.2
Packagist/moodle/moodle
Introduced in: 4.0.0Fixed in: 4.0.7
Fixcomposer require moodle/moodle:^4.0.7
Packagist/moodle/moodle
Introduced in: 3.11.0Fixed in: 3.11.13
Fixcomposer require moodle/moodle:^3.11.13
Packagist/moodle/moodle
Introduced in: 0Fixed in: 3.9.20
Fixcomposer require moodle/moodle:^3.9.20

References