Skip to content
OpenAdvisories
Medium · 6.1 CVE-2020-25631 BIT-moodle-2020-25631EUVD-2022-2455GHSA-4w4j-9533-82qg

Moodle Cross-site Scripting (XSS)

Published Dec 8, 2020 · Updated Aug 4, 2024 · Assigned by redhat

Description

A vulnerability was found in Moodle 3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.7 where it was possible to include JavaScript in a book's chapter title, which was not escaped on the "Add new chapter" page. This is fixed in 3.9.2, 3.8.5 and 3.7.8.

Affected products

VendorProductAffectedFixed
— Moodle 3.9 to 3.9.1, 3.8 to 3.8.4 and 3.7 to 3.7.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, < 3.9.2 3.9.2 GHSA-4w4j-9533-82qg
Packagist moodle/moodle >= 3.8, < 3.8.5 3.8.5 GHSA-4w4j-9533-82qg
Packagist moodle/moodle >= 3.7, < 3.7.8 3.7.8 GHSA-4w4j-9533-82qg

References