{"id":"CVE-2016-10547","aliases":["GHSA-f7ph-p5rv-phw2"],"url":"https://o3.security/vulnerability/CVE-2016-10547","summary":"Cross-Site Scripting in nunjucks","details":"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:29:01.737Z","modified":"2026-07-08T12:43:49.684993Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":3,"affectedPackages":[{"ecosystem":"npm","name":"nunjucks","fixedVersion":"2.4.3"}],"fix":null,"references":[{"type":"EVIDENCE","url":"https://github.com/matt-/nunjucks_test"},{"type":"EVIDENCE","url":"https://github.com/mozilla/nunjucks/issues/835"},{"type":"EVIDENCE","url":"https://nodesecurity.io/advisories/147"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T12:43:49.684993Z"}}