Skip to main content

ember-dynamic-render-template EUVDEUVD-2026-53371

| CVE-2026-71286 MEDIUM
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-08-05 TuranSec GHSA-pvmf-8hpv-qh7r
6.1
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify application passing user input to templateString
  2. Delivery
    Craft malicious Handlebars/Glimmer expression as payload
  3. Exploit
    Deliver payload via user-controlled data channel (URL param, stored input)
  4. Execution
    Victim loads page triggering render-template component
  5. Persist
    compileTemplate() compiles injected expression without sanitization
  6. Impact
    Glimmer runtime executes payload in victim browser session

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Exploitation Conditions

Exploitation requires that the target Ember.js application uses the ember-dynamic-render-template addon and explicitly passes attacker-influenced data to the render-template component's templateString property - for example, by binding a URL query parameter, a form field value, or database-stored user content to templateString in a template or backing component. This is not a default behavior of the addon; it is an application-level architectural decision by the developer. The CVSS vector (UI:R) confirms that a victim user must load the page where the malicious templateString is rendered; server-side or unattended exploitation is not possible. The practical XSS impact is bounded by whatever Glimmer helpers, services, and component state are accessible within the rendering context at the time of compilation - applications that restrict or expose little context limit attacker capability. Applications that bind templateString exclusively to developer-controlled, hardcoded strings are not exploitable regardless of addon version.

Impact

The CVSS 6.1 base score (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) accurately characterizes a classic browser-scope XSS pathway: network-reachable, low complexity once triggered, no required attacker privileges, but gated behind victim user interaction and yielding only limited confidentiality and integrity impact consistent with JavaScript-execution-level XSS. No EPSS score was supplied and the vulnerability is absent from CISA KEV, so exploitation frequency cannot be quantified. Real-world risk is sharply conditional: this flaw is only exploitable when a developer explicitly routes attacker-influenced data - URL parameters, form fields, stored user content - into the templateString property, which is not forced by the component's default usage. The wildcard CPE confirms all published versions are affected, but the addon is a niche Ember community package with limited deployment footprint, which substantially constrains aggregate exposure. For any team using the addon with dynamic user-supplied content, this is a genuine medium-priority finding requiring remediation; teams using templateString exclusively with developer-controlled strings are not at risk.

Exploit ScenarioDerived

An attacker identifies an Ember.js application that reads a URL query parameter or retrieves a user-profile field from a backend API and passes that value to the render-template component's templateString property. The attacker crafts a malicious Handlebars expression targeting an exposed helper or service - for example, injecting an expression that reads a session token from the component context and exfiltrates it to an attacker-controlled endpoint. When the victim user loads the affected page or follows a crafted link, the browser invokes compileTemplate() on the injected string, the Glimmer runtime executes the compiled template, and the attacker's JavaScript-equivalent payload runs with the full privileges of the victim's browser session. No public proof-of-concept code is referenced in the available intelligence, but the vulnerability class is well-understood and exploitation requires only knowledge of the Glimmer helpers and component context available in the target application's rendering environment.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Client-side template injection in ember-dynamic-render-template exposes Ember.js applications to cross-site scripting when the render-template component receives attacker-controlled data through its templateString property. The addon's render-template.js passes templateString directly to Ember/Glimmer's compileTemplate() with no sanitization, allowlisting, or validation, causing the runtime to compile and execute arbitrary Handlebars expressions in the victim's browser. All published versions are affected per the CPE wildcard; no CISA KEV confirmation exists and no public exploit code has been identified at time of analysis.

RemediationAI

No vendor-released patch or fixed version has been identified at time of analysis - available references point only to the upstream GitHub repository with no tagged release, changelog entry, or advisory confirming a fix. The primary and most effective workaround is to eliminate the vulnerable data flow entirely: audit all uses of the render-template component and ensure that templateString is never populated from user-supplied sources such as URL parameters, query strings, form inputs, or database-stored user content; this removes the attack surface with no functional side effects for applications that only render developer-controlled strings. If truly dynamic template compilation from external input is a product requirement, consider replacing the addon with a custom implementation that validates templateString against a strict allowlist of permitted Handlebars helpers and structural patterns before passing to compileTemplate(), rejecting any input containing unknown or executable expressions. As a defense-in-depth measure, a Content Security Policy that blocks inline script execution can reduce the practical impact of any injected payload in browsers that enforce it, though this does not prevent template compilation itself. Monitor the upstream repository for patch releases and subscribe to GitHub release notifications.

Affected VersionsENISA

ember-dynamic-render-template 0 ≤0.0.6

Affected Packages

euvd ember_dynamic_render_template no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ember-dynamic-render-template is an Ember.js community addon by miguelcobain (CPE: cpe:2.3:a:miguelcobain:ember-dynamic-render-template:*) that exposes a Glimmer component designed to compile and render dynamic template strings at runtime. The vulnerable logic in addon/components/render-template.js forwards the templateString property without modification into @ember/template-compilation's compileTemplate() function. CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine) precisely describes this root cause: attacker-supplied input reaches a template engine interpreter without neutralization, enabling injection of executable Handlebars and Glimmer expressions. Because compileTemplate() operates entirely client-side in the browser, injected expressions execute within the security context of the rendering page, with access to whatever helpers, services, and component state are exposed to the compiled template at render time.

Know when Ssti gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (TuranSec) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Network-delivered XSS requiring victim page load (UI:R); injected template executes across browser security boundary (S:C); attacker needs no privileges, only ability to influence templateString input (PR:N).

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The render-template component of ember-dynamic-render-template (addon/components/render-template.js) passes its templateString property directly into Ember/Glimmer's compileTemplate() (from @ember/template-compilation) with no sanitization, allow-listing, or validation of the input. Because compileTemplate() dynamically compiles and renders the supplied string as a live Handlebars/Glimmer template, any application that renders attacker-influenced data through this component's templateString property is exposed to client-side template injection: an attacker-controlled Handlebars expression is compiled and executed in the context of the rendering component, which can be leveraged for cross-site scripting depending on what helpers/context are exposed to the compiled template.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Rare
niche Ember.js community addon, minimal enterprise footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Ssti

View all
CVE-2024-23692 CRITICAL POC
9.8 May 31

Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection vulnerability. Rated c

CVE-2025-47916 CRITICAL POC
10.0 May 16

Invision Community 5.0.0 through 5.0.6 contains an unauthenticated remote code execution vulnerability in the template e

CVE-2024-32651 CRITICAL POC
10.0 Apr 26

changedetection.io is an open source web page change detection, website watcher, restock monitor and notification servic

CVE-2024-6386 CRITICAL POC
9.9 Aug 21

Remote code execution in the WPML WordPress multilingual plugin (versions up to and including 4.6.12) allows Contributor

CVE-2026-75650 CRITICAL POC
10.0 Sep 07

Server-side template injection in Adobe Commerce, Adobe Commerce B2B, and Magento Open Source allows remote unauthentica

CVE-2026-39980 CRITICAL POC
9.1 Apr 09

Server-Side Template Injection in OpenCTI notifier templates allows privileged administrators with 'Manage customization

CVE-2026-97359 CRITICAL POC
10.0 Sep 24

Unauthenticated remote code execution in Rejetto HFS2 (HTTP File Server) through version 2.4.0 lets an attacker execute

CVE-2025-23211 CRITICAL POC
9.9 Jan 28

Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Rated critical seve

CVE-2024-4040 CRITICAL POC
10.0 Apr 22

A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms all

CVE-2025-60355 CRITICAL POC
9.8 Oct 28

Server-side template injection in OneBlog v2.3.9 and earlier lets an attacker who can supply FreeMarker template content

CVE-2026-15734 CRITICAL POC
9.8 Aug 06

Remote code execution in WGDashboard 4.3.2 and earlier lets authenticated attackers inject Server-Side Template Injectio

CVE-2026-37004 CRITICAL POC
9.8 Aug 27

Unauthenticated remote code execution affects BerriAI litellm through version 1.82.4, where the /prompts/test endpoint r

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy