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—
ProductMozilla Nunjucks
PublishedMay 31, 2018
First seenMay 31, 2018

How to fix

Update
  • nunjucks2.4.3 or later

Affected products

ProductAffected versionsFixed in
mozilla nunjucksv ≤ 2.4.2—
nunjucksnpmv < 2.4.32.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.

CVE-2016-10547 · Mozilla Nunjucks · Dark Radar