{"id":"CVE-2016-10547","state":"PUBLISHED","title":"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 t","description":"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.","publishedAt":"2018-05-31T20:00:00.000Z","updatedAt":"2024-09-16T16:43:50.537Z","severity":null,"assigner":"hackerone","products":["HackerOne nunjucks node module"],"affected":[{"vendor":"HackerOne","product":"nunjucks node module","versions":[{"version":"<=2.4.2","status":"affected"}]}],"references":["https://github.com/mozilla/nunjucks/issues/835","https://nodesecurity.io/advisories/147","https://github.com/matt-/nunjucks_test"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:42:26.791Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/10xxx/CVE-2016-10547.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-10547","state":"PUBLISHED","datePublished":"2018-05-31T20:00:00.000Z","dateUpdated":"2024-09-16T16:43:50.537Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2017-10-29T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"HackerOne","product":"nunjucks node module","versions":[{"version":"<=2.4.2","status":"affected"}]}],"references":[{"url":"https://github.com/mozilla/nunjucks/issues/835","tags":["x_refsource_MISC"]},{"url":"https://nodesecurity.io/advisories/147","tags":["x_refsource_MISC"]},{"url":"https://github.com/matt-/nunjucks_test","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"Cross-site Scripting (XSS) - Generic (CWE-79)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"hackerone","dateUpdated":"2018-05-31T19:57:01.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1"},"datePublic":"2018-04-26T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","DATE_PUBLIC":"2018-04-26T00:00:00","ID":"CVE-2016-10547","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"nunjucks node module","version":{"version_data":[{"version_value":"<=2.4.2"}]}}]},"vendor_name":"HackerOne"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Cross-site Scripting (XSS) - Generic (CWE-79)"}]}]},"references":{"reference_data":[{"name":"https://github.com/mozilla/nunjucks/issues/835","refsource":"MISC","url":"https://github.com/mozilla/nunjucks/issues/835"},{"name":"https://nodesecurity.io/advisories/147","refsource":"MISC","url":"https://nodesecurity.io/advisories/147"},{"name":"https://github.com/matt-/nunjucks_test","refsource":"MISC","url":"https://github.com/matt-/nunjucks_test"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/mozilla/nunjucks/issues/835","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://nodesecurity.io/advisories/147","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/matt-/nunjucks_test","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T03:21:52.154Z"}}]}}}