RCE in Moodle
CVE-2019-14827
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.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.007 (48.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Moodle
- N/a Moodle — versions 3.7 to 3.7.1, 3.6 to 3.6.5, 3.5 to 3.5.7 and earlier unsupported versions
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secalert@redhat.com (Patch, x_refsource_MISC, Vendor Advisory)
- secalert@redhat.com (Patch, x_refsource_MISC, Vendor Advisory)
Frequently asked questions
- What is CVE-2019-14827?
- CVE-2019-14827 is a medium-severity vulnerability in Moodle, classified under Code Injection. CVSS score: 6.1/10. Published 2021-05-17.
- How severe is CVE-2019-14827?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2019-14827 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.