CVE-2016-10547 · hackerone
CVE-2016-10547
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[]= alert(1) `, it is possible to bypass autoescaping and inject content into the DOM.
Published 2018-05-31, last changed 2026-06-17. Weakness: CWE-79.
How to fix
Upgrade to a fixed version: nunjucks 2.4.3 (npm). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2018-05-31 | Published |
| 2018-11-06 | Package advisory GHSA-f7ph-p5rv-phw2 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.39% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-f7ph-p5rv-phw2 | nunjucks (npm) | 2.4.3 |
Also known as: GHSA-f7ph-p5rv-phw2
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2023-2142 | 2024-11-26 | 6.1 | Nunjucks autoescape bypass leads to cross site scripting |
| CVE-2026-133211 | 2026-11-26 | 4.7 | same weakness (CWE-79) from the same CNA (hackerone) |
| CVE-2026-133208 | 2026-11-26 | 6.1 | same weakness (CWE-79) from the same CNA (hackerone) |
| CVE-2026-108565 | 2026-11-11 | 4.7 | same weakness (CWE-79) from the same CNA (hackerone) |
| CVE-2026-108564 | 2026-11-11 | 4.7 | same weakness (CWE-79) from the same CNA (hackerone) |
| CVE-2026-108562 | 2026-11-11 | 5.4 | same weakness (CWE-79) from the same CNA (hackerone) |
| CVE-2026-108561 | 2026-11-11 | 6.1 | same weakness (CWE-79) from the same CNA (hackerone) |
| CVE-2026-108560 | 2026-11-11 | 6.1 | same weakness (CWE-79) from the same CNA (hackerone) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-10547, or call /api/v1/vulnerabilities/CVE-2016-10547. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.