VDB
Sign up
MEDIUM6.1

GHSA-77jm-f3vj-xvx2

Moodle vulnerable to Cross-site Scripting

Quick fix

GHSA-77jm-f3vj-xvx2 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^4.1.2

Details

Content output by the database auto-linking filter required additional sanitizing to prevent 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