CVE-2016-10547 Cross-Site Scripting in nunjucks
MediumCVSS 6.1
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mozilla Nunjucks | <= 2.4.2 | after 2.4.2 | Fixed |
| npm nunjucks(npm) | < 2.4.3 | 2.4.3 | Fixed |
| HackerOne nunjucks node module | = <=2.4.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm nunjucks(npm) | < 2.4.3 | 2.4.3 |
| mozilla Nunjucks | <= 2.4.2 | No fix listed |
| HackerOne nunjucks node module | = <=2.4.2 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit third-party-advisory
- github.com vendor-advisory
- github.com exploit third-party-advisory
- www.npmjs.com
- nodesecurity.io exploit third-party-advisory