CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2016 · Mozilla

CVE-2016-10547
Mozilla Nunjucks vulnerability

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

Nunjucks. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Mozilla Nunjucks runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Mozilla products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.