Back to search
CVE-2016-10547
Published: May 31, 2018
Modified: Sep 16, 2024
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
HackerOne | nunjucks node module | affected <=2.4.2 |
Weaknesses (CWE)
References
https://github.com/mozilla/nunjucks/issues/835
x_refsource_MISC
https://nodesecurity.io/advisories/147
x_refsource_MISC
https://github.com/matt-/nunjucks_test
x_refsource_MISC
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now