Skip to content

CVE-2019-18210 Moodle Persistent Cross-site Scripting (XSS)

MediumCVSS 5.4 EPSS 0.80%
Published
Updated
Exploit status
No public exploit known
Technology
PHPUbuntu

Description

Persistent XSS in /course/modedit.php of Moodle through 3.7.2 allows authenticated users (Teacher and above) to inject JavaScript into the session of another user (e.g., enrolled student or site administrator) via the introeditor[text] parameter. NOTE: the discoverer and vendor disagree on whether Moodle customers have a reasonable expectation that anyone authenticated as a Teacher can be trusted with the ability to add arbitrary JavaScript (this ability is not documented on Moodle's Teacher_role page). Because the vendor has this expectation, they have stated "this report has been closed as a false positive, and not a bug."

Upgrade path

4 packages: 2 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/moodle(Ubuntu Pro 16.04) = 2.7.9+dfsg-1; = 2.7.10+dfsg-1; = 2.7.11+dfsg-1; = 2.7.11+dfsg-2 +4 more No fix listed No fix yet
ubuntu/moodle(Ubuntu Pro 18.04) = 3.0.3+dfsg-0ubuntu1; = 3.0.3+dfsg-0ubuntu1+esm1; All versions No fix listed No fix yet
moodle/moodle <= 3.7.2 after 3.7.2 Fixed
moodle/moodle(Packagist) = v3.7.0; = v3.7.0-beta; = v3.7.0-rc1; = v3.7.0-rc2 +3 more after 3.7.2 Fixed

Affected products

ProductAffected versionsFixed in
moodle/moodle(Packagist) >= 3.7, <= 3.7.2 No fix listed
moodle/moodle(Packagist) = v3.7.0 No fix listed
moodle/moodle(Packagist) = v3.7.0-beta No fix listed
moodle/moodle(Packagist) = v3.7.0-rc1 No fix listed
moodle/moodle(Packagist) = v3.7.0-rc2 No fix listed
moodle/moodle(Packagist) = v3.7.1 No fix listed
moodle/moodle(Packagist) = v3.7.2 No fix listed
moodle/moodle <= 3.7.2 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) All versions No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.9+dfsg-1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.10+dfsg-1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.11+dfsg-1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.11+dfsg-2 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 2.7.12+dfsg-1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 3.0.3+dfsg-0ubuntu1 No fix listed
ubuntu/moodle(Ubuntu:Pro:16.04) = 3.0.3+dfsg-0ubuntu1+esm1 No fix listed
ubuntu/moodle(Ubuntu:Pro:18.04) All versions No fix listed
ubuntu/moodle(Ubuntu:Pro:18.04) = 3.0.3+dfsg-0ubuntu1 No fix listed
ubuntu/moodle(Ubuntu:Pro:18.04) = 3.0.3+dfsg-0ubuntu1+esm1 No fix listed

References