VDB
Sign up
MEDIUM6.1

GHSA-wwv7-h477-wrv7

Moodle Stored XSS and blind SSRF possible via SCORM track details

Quick fix

GHSA-wwv7-h477-wrv7 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^3.9.15

Details

A stored Cross-site Scripting (XSS) and blind Server-Side Request Forgery (SSRF) vulnerability was found in Moodle, occurs due to insufficient sanitization of user-supplied data in the SCORM track details. 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 to steal potentially sensitive information, change appearance of the web page, can perform phishing and drive-by-download attacks.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 3.9Fixed in: 3.9.15
Fixcomposer require moodle/moodle:^3.9.15
Packagist/moodle/moodle
Introduced in: 3.11Fixed in: 3.11.8
Fixcomposer require moodle/moodle:^3.11.8
Packagist/moodle/moodle
Introduced in: 4.0Fixed in: 4.0.2
Fixcomposer require moodle/moodle:^4.0.2

References