{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-10547","id":"CVE-2016-10547","title":"Cross-Site Scripting in nunjucks","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.","descriptionLong":"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.","published":"2018-05-31T20:00:00.000Z","updated":"2026-10-20T10:47:12.454356936Z","reserved":"2017-10-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["HackerOne nunjucks node module"],"affectedProducts":[{"vendor":"HackerOne","product":"nunjucks node module","defaultStatus":null,"versions":[{"status":"affected","version":"<=2.4.2"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"nunjucks","purl":"pkg:npm/nunjucks","ranges":["<2.4.3"],"fixed":["2.4.3"],"advisory":"GHSA-f7ph-p5rv-phw2"}],"cwes":["CWE-79"],"aliases":["GHSA-f7ph-p5rv-phw2"],"references":[{"url":"https://github.com/mozilla/nunjucks/issues/835","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nodesecurity.io/advisories/147","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://github.com/matt-/nunjucks_test","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10547","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-f7ph-p5rv-phw2","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/147","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01391,"epssPercentile":0.72892,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-10547","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10547","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-10547","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f7ph-p5rv-phw2","ok":true,"note":"GHSA-f7ph-p5rv-phw2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-10547","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}