Description
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.
Published: 2026-08-05
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The render‑template component in the ember‑dynamic‑render‑template addon passes its any supplied templateString directly to Ember/Glimmer’s compileTemplate function without sanitization or validation. This behavior permits client‑side template injection, allowing an attacker to embed arbitrary Handlebars expressions that will be compiled and executed in the context of the rendering component. If the application exposes useful helpers or context to the compiled template, the attacker may achieve cross‑site scripting by running malicious JavaScript in the victim’s browser, potentially exposing session data or other sensitive information to the attacker.

Affected Systems

All installations of the ember‑dynamic‑render‑template addon are potentially affected, particularly those that render data controlled by users through the templateString property. No specific version range is listed, so every released version should be treated as vulnerable until a fix is available.

Risk and Exploitability

The CVSS score of 6.1 indicates a moderate severity. The EPSS score is unknown and the vulnerability is not present in the CISA KEV catalog, suggesting that no public exploits have been reported yet. The attack vector is client‑side; an attacker supplies malicious content to the templateString input, which is then compiled and executed by the application, leading to a XSS attack if the environment permits.

Generated by OpenCVE AI on August 5, 2026 at 15:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Check the vendor repository and upgrade ember‑dynamic‑render‑template to the latest release as soon as a patch is available.
  • If an upgrade is not feasible, validate or sanitize the templateString input before passing it to the component, for example by allowing only a whitelist of safe expressions or by stripping Handlebars syntax.
  • If neither upgrading nor validation is possible, consider removing or disabling the render‑template component from the application until a fix is released, or replace it with a safer templating solution.

Generated by OpenCVE AI on August 5, 2026 at 15:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Description 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.
Title ember-dynamic-render-template Client-Side Template Injection via Unsanitized templateString
Weaknesses CWE-1336
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-05T15:45:49.198Z

Reserved: 2026-08-05T12:23:34.968Z

Link: CVE-2026-71286

cve-icon Vulnrichment

Updated: 2026-08-05T15:45:45.528Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T15:15:05Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine