Skip to content
OpenAdvisories
Medium · 5.4 CVE-2021-36568 BIT-moodle-2021-36568EUVD-2022-6801GHSA-fm6m-fg23-67jq

Moodle Cross-site Scripting vulnerability

Published Sep 13, 2022 · Updated Aug 4, 2024 · Assigned by mitre

Description

In certain Moodle products after creating a course, it is possible to add in a arbitrary "Topic" a resource, in this case a "Database" with the type "Text" where its values "Field name" and "Field description" are vulnerable to Cross Site Scripting Stored(XSS). This affects Moodle 3.11 and Moodle 3.10.4 and Moodle 3.9.7.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS moodle No fix yet —
Ubuntu Pro 16.04 LTS moodle No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle <= 3.9.7 — GHSA-fm6m-fg23-67jq
Packagist moodle/moodle >= 3.10.0, <= 3.10.4 — GHSA-fm6m-fg23-67jq
Packagist moodle/moodle >= 3.11.0, < 3.11.10 3.11.10 GHSA-fm6m-fg23-67jq

References