CVE-2016-10547
Medium
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.
SeverityMedium
CVSS6.1
Exploit probability—
Product
Mozilla Nunjucks
PublishedMay 31, 2018
First seenMay 31, 2018
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- nunjucks2.4.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mozilla nunjucks | v ≤ 2.4.2 | — |
| nunjucksnpm | v < 2.4.3 | 2.4.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.