CVEvulnerability
CVE-2016-10547
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2018-05-31
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 6.1 MEDIUM — CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-79
Description
Nunjucks is a full featured templating engine for JavaScript. Versions 2.4.2 and lower have a cross site scripting (XSS) vulnerability in autoescape mode. In autoescape mode, all template vars should automatically be escaped. By using an array for the keys, such as `name[]=<script>alert(1)</script>`, it is possible to bypass autoescaping and inject content into the DOM.
Affected configurations
• mozilla nunjucks (<= 2.4.2)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/matt-/nunjucks_test Exploit, Third Party Advisory
- https://github.com/mozilla/nunjucks/issues/835 Exploit, Third Party Advisory
- https://nodesecurity.io/advisories/147 Exploit, Third Party Advisory
- https://github.com/matt-/nunjucks_test Exploit, Third Party Advisory
- https://github.com/mozilla/nunjucks/issues/835 Exploit, Third Party Advisory
- https://nodesecurity.io/advisories/147 Exploit, Third Party Advisory