原始描述
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.
受影响的软件
- Moodle ≥ 3.5.0 ≤ 3.5.7≥ 3.6.0 ≤ 3.6.5≥ 3.7.0 ≤ 3.7.1 精确匹配
详情
- 发布日期
- 2021-05-17
- 最后修改
- 2026-06-17
- CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- CWE
- CWE-94
- EPSS(30 天内被利用概率)
- 0.67% (百分位 53)
参考资料
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。