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 contex...
MediumCVSS 6.1
EPSS 0.67%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Ubuntu
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.
Upgrade path
3 packages: 1 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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.5.0, <= 3.5.7; >= 3.6.0, <= 3.6.5; >= 3.7.0, <= 3.7.1 | after 3.5.7, 3.6.5, 3.7.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| moodle/moodle | >= 3.5.0, <= 3.5.7 | No fix listed |
| moodle/moodle | >= 3.6.0, <= 3.6.5 | No fix listed |
| moodle/moodle | >= 3.7.0, <= 3.7.1 | 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
- git.moodle.org issue-tracking patch vendor-advisory
- moodle.org issue-tracking patch vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking