First published: Thu May 31 2018(Updated: )
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.
Credit: support@hackerone.com
Affected Software | Affected Version | How to fix |
---|---|---|
Mozilla Nunjucks | <=2.4.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-10547 has been classified as a high severity vulnerability due to the potential for cross site scripting (XSS) attacks.
To fix CVE-2016-10547, upgrade to Nunjucks version 2.4.3 or later where the issue has been addressed.
Nunjucks versions 2.4.2 and lower are affected by CVE-2016-10547.
CVE-2016-10547 is a cross site scripting (XSS) vulnerability that occurs in autoescape mode when handling certain template variables.
Yes, CVE-2016-10547 can be exploited remotely if an attacker can induce a user to load a malicious template.