Cross-site scripting in Moodle - CVE-2019-14827

 

Cross-site scripting in Moodle - CVE-2019-14827

Published: September 16, 2019


Vulnerability identifier: #VU21129
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2019-14827
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data within the Mustache templates via recursive rendering from contexts. A remote authenticated attacker can use Mustache helper tags to execute arbitrary JavaScript code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

Moodle

How to mitigate CVE-2019-14827

Install updates from vendor's website.

Moodle - addressed in versions 3.5.8, 3.6.6, 3.7.2

External References

Related Security Bulletins