A vulnerability was found in Moodle where javaScript injection was possible in some Mustache templates via recursive rendering from contexts. Mustache helper tags that were included in template contexts were not being escaped before that context was injected into another Mustache helper, which could result in script injection in some templates. This affects versions 3.7 to 3.7.1, 3.6 to 3.6.5, 3.5 to 3.5.7 and earlier unsupported versions.
CVE-2019-14827 - Medium Severity Vulnerability
Vulnerable Library - moodle/moodle-v2.6.2
Moodle - the world's open source learning platform
Dependency Hierarchy: - :x: **moodle/moodle-v2.6.2** (Vulnerable Library)
Found in base branch: master
Vulnerability Details
A vulnerability was found in Moodle where javaScript injection was possible in some Mustache templates via recursive rendering from contexts. Mustache helper tags that were included in template contexts were not being escaped before that context was injected into another Mustache helper, which could result in script injection in some templates. This affects versions 3.7 to 3.7.1, 3.6 to 3.6.5, 3.5 to 3.5.7 and earlier unsupported versions.
Publish Date: 2021-05-17
URL: CVE-2019-14827
CVSS 3 Score Details (6.1)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://moodle.org/mod/forum/discuss.php?d=391030
Release Date: 2021-05-17
Fix Resolution: v3.5.8,v3.6.6,v3.7.2
Step up your Open Source Security Game with Mend here