Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify application passing user input to templateString
-
DeliveryCraft malicious Handlebars/Glimmer expression as payload
-
ExploitDeliver payload via user-controlled data channel (URL param, stored input)
-
ExecutionVictim loads page triggering render-template component
-
PersistcompileTemplate() compiles injected expression without sanitization
-
ImpactGlimmer 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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).
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection vulnerability. Rated c
Invision Community 5.0.0 through 5.0.6 contains an unauthenticated remote code execution vulnerability in the template e
changedetection.io is an open source web page change detection, website watcher, restock monitor and notification servic
Remote code execution in the WPML WordPress multilingual plugin (versions up to and including 4.6.12) allows Contributor
Server-side template injection in Adobe Commerce, Adobe Commerce B2B, and Magento Open Source allows remote unauthentica
Server-Side Template Injection in OpenCTI notifier templates allows privileged administrators with 'Manage customization
Unauthenticated remote code execution in Rejetto HFS2 (HTTP File Server) through version 2.4.0 lets an attacker execute
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Rated critical seve
A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms all
Server-side template injection in OneBlog v2.3.9 and earlier lets an attacker who can supply FreeMarker template content
Remote code execution in WGDashboard 4.3.2 and earlier lets authenticated attackers inject Server-Side Template Injectio
Unauthenticated remote code execution affects BerriAI litellm through version 1.82.4, where the /prompts/test endpoint r
EUVD-2026-53371
GHSA-pvmf-8hpv-qh7r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB