cve/2016/CVE-2016-10547.md

18 lines
902 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2016-10547](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10547)
![](https://img.shields.io/static/v1?label=Product&message=nunjucks%20node%20module&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Cross-site%20Scripting%20(XSS)%20-%20Generic%20(CWE-79)&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/matt-/nunjucks_test
#### Github
No PoCs found on GitHub currently.