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.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
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-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 lookupCVE-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- Severity
- Unknown
- CVSS
- Not scored
- Known Exploited
- No
- Published
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.
CVSS and timeline data
No CVSS vectors or timeline events were available in the normalized CVE source material.
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/mozilla/nunjucks/issues/835CVE reference · x_refsource_MISC
- https://nodesecurity.io/advisories/147CVE reference · x_refsource_MISC
- https://github.com/matt-/nunjucks_testCVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
