XSS in Hackerone Nunjucks Node Module

CVE-2016-10547

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.014 (70.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2016-10547?
CVE-2016-10547 is a medium-severity vulnerability in Hackerone Nunjucks Node Module, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2018-05-31.
How severe is CVE-2016-10547?
Medium severity. CVSS v3 base score is 6.1 out of 10.