What’s Vulnerable › Vulnerabilities
CVE-2016-10547
- Severity: medium (CVSS 6.1 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-05-31 · updated 2026-06-17
- Weakness: 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 products
- Mozilla Nunjucks: through 2.4.2
References
- https://github.com/matt-/nunjucks_test
- https://github.com/mozilla/nunjucks/issues/835
- https://nodesecurity.io/advisories/147
- https://github.com/matt-/nunjucks_test
- https://github.com/mozilla/nunjucks/issues/835
- https://nodesecurity.io/advisories/147
Get alerted when CVE-2016-10547 or the next vulnerability affects your stack