CVE-2016-10547
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| HackerOne | nunjucks node module | <=2.4.2 | affected |
Weaknesses
- CWE-79: Cross-site Scripting (XSS) - Generic (CWE-79)
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/mozilla/nunjucks/issues/835
- https://nodesecurity.io/advisories/147
- https://github.com/matt-/nunjucks_test
References
- https://github.com/mozilla/nunjucks/issues/835
- https://nodesecurity.io/advisories/147
- https://github.com/matt-/nunjucks_test
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.