Skip to content
OpenAdvisories
Medium · 6.1 CVE-2023-23921 BIT-moodle-2023-23921EUVD-2023-0673GHSA-97qf-pq7x-964m

Moodle: reflected xss risk in some returnurl parameters

Published Feb 17, 2023 · Updated Aug 2, 2024 · Assigned by fedora

Description

The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in some returnurl parameters. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website. This flaw allows a remote attacker to perform cross-site scripting (XSS) attacks.

Affected products

VendorProductAffectedFixed
— moodle 4.1.0 – < 4.1.1, 4.0.0 – < 4.0.6, 3.11.0 – < 3.11.12, < 3.9.19 4.1.1

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.19 3.9.19 GHSA-97qf-pq7x-964m
Packagist moodle/moodle >= 3.10.0, < 3.11.12 3.11.12 GHSA-97qf-pq7x-964m
Packagist moodle/moodle >= 4.0.0-beta, < 4.0.6 4.0.6 GHSA-97qf-pq7x-964m
Packagist moodle/moodle >= 4.1.0-beta, < 4.1.1 4.1.1 GHSA-97qf-pq7x-964m

Advisories 1

References