CVE-2016-10547: Mozilla Nunjucks

Medium severity, CVSS 6.1. EPSS: 1.4% chance of exploitation in the next 30 days.

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 products

  • Mozilla Nunjucks: up to and including 2.4.2

Published 2018-05-31. Last modified 2026-06-17.