# CVE-2016-10547

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-05-31 · Modified: 2024-09-16
- Aliases: GHSA-f7ph-p5rv-phw2
- Record: https://cvemate.com/vulnerability/CVE-2016-10547 · JSON: https://cvemate.com/vulnerability/CVE-2016-10547/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 1.391%, percentile 73.282%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (github, reference)

## Affected

- hackerone nunjucks node module: ≤ 2.4.2
- mozilla nunjucks: ≤ 2.4.2
- Npm nunjucks (Npm): \< 2.4.3

## References

- <https://github.com/mozilla/nunjucks/issues/835>
- <https://nodesecurity.io/advisories/147>
- <https://github.com/matt-/nunjucks_test>
- <https://nvd.nist.gov/vuln/detail/CVE-2016-10547>
- <https://github.com/advisories/GHSA-f7ph-p5rv-phw2>
- <https://www.npmjs.com/advisories/147>

---

Data as of 2026-12-05T06:58:43.933Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
