{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2016-10547","published":"2018-05-31T20:29:01.737000Z","last_modified":"2026-06-17T00:39:54.890000Z","status":"Modified","cvss":{"version":"3.0","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:mozilla:nunjucks:*:*:*:*:*:*:*:*","part":"a","vendor":"mozilla","product":"nunjucks","version_end_including":"2.4.2"}],"cpes_truncated":false,"vendors":["mozilla"],"products":["mozilla/nunjucks"],"epss":{"score":0.01391,"percentile":0.72541,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-f7ph-p5rv-phw2","ecosystem":"npm","name":"nunjucks","purl":"pkg:npm/nunjucks","ranges":[{"introduced":"0","fixed":"2.4.3"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2016-10547/","html_en":"/en/cve/CVE-2016-10547/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-10547","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-10547"},"untrusted":{"vendor_name":"Mozilla","product_name":"Nunjucks","desc_en":"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":[{"untrusted_vendor":"HackerOne","untrusted_product":"nunjucks node module","versions":[]}],"references":[{"url":"https://github.com/matt-/nunjucks_test","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/mozilla/nunjucks/issues/835","tags":["Exploit","Third Party Advisory"]},{"url":"https://nodesecurity.io/advisories/147","tags":["Exploit","Third Party Advisory"]}]}}