Advisories for Npm/Nunjucks package

2023
2018
2016

XSS in autoescape mode

Nunjucks has a cross site scripting (XSS) vulnerability in autoescape mode: all template vars should automatically be escaped. By using an array for the keys, it is possible to bypass autoescaping and inject content into the DOM.