Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| HackerOne / nunjucks node module | affected <=2.4.2 |
CWE
CWE-79
References
- https://github.com/mozilla/nunjucks/issues/835
- https://nodesecurity.io/advisories/147
- https://github.com/matt-/nunjucks_test
ADP enrichment
No English description supplied.