LiveActive security incident?Get immediate response
CVE Record

CVE-2016-10547: Nunjucks is a full featured templating engine for JavaScript.

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2016-10547 affects the Nunjucks JavaScript templating module. In affected versions, a page believed to be protected by autoescaping could still render attacker-controlled content as HTML, creating XSS risk. This can let attackers run script in a user’s browser if vulnerable rendering paths receive untrusted input.

Executive priority

Prioritize review where Nunjucks renders authenticated or customer-facing pages. Business risk is session compromise, account abuse, or data exposure through browser-side script execution, but urgency is limited by unknown severity and no cited active exploitation.

Technical view

Nunjucks versions 2.4.2 and lower have a CWE-79 autoescape bypass involving array-style keys. Template variables expected to be escaped can be injected into DOM output. The bundle provides no CVSS score and no confirmed fixed version beyond the affected range.

Likely exposure

Exposure is most likely in Node.js applications using Nunjucks <=2.4.2 to render web pages with user-controlled request data. Build-only or trusted-content use is lower risk, but should still be inventoried because templating paths can change over time.

Exploitation context

The source bundle describes a practical XSS condition and public issue/advisory references. It does not cite CISA KEV listing, active exploitation, or exploitation in the wild. Treat exploit status as unconfirmed, not absent.

Researcher notes

Evidence is limited to the CVE description and public references. The key research question is whether application code passes attacker-controlled request parameters into Nunjucks templates on affected versions. Do not assume every Nunjucks deployment is exploitable without route-level data-flow validation.

Mitigation direction

  • Inventory applications and packages using the Nunjucks node module.
  • Check vendor or project guidance for the corrected release and upgrade path.
  • Avoid passing raw request objects directly into templates.
  • Review templates that render user-controlled data into browser-visible pages.
  • Add defense-in-depth output encoding and CSP where appropriate.

Validation and detection

  • Confirm deployed Nunjucks versions are not <=2.4.2.
  • Map routes that render Nunjucks templates with user-controlled input.
  • Review dependency lockfiles and transitive package paths.
  • Test that array-style input is safely encoded in rendered output.
  • Confirm browser responses do not contain unescaped user input.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2016-10547 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
HackerOnenunjucks node module<=2.4.2Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.