{"id":"CVE-2019-14827","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-14827","generatedAt":"2026-10-29T02:05:09.934Z","title":"A vulnerability was found in Moodle where javaScript injection was possible in some Mustache templates via recursive rendering from contexts.","description":"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.","published":"2021-05-17T16:15:08.000Z","lastModified":"2026-06-17T02:19:07.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-94"],"affected":["moodle/moodle"],"epss":{"score":0.00668,"percentile":0.51701,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.67%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62284","tags":["Patch","Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"https://moodle.org/mod/forum/discuss.php?d=391030","tags":["Patch","Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"https://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-62284","tags":["Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://moodle.org/mod/forum/discuss.php?d=391030","tags":["Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-14827","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}