CVE-2026-71286

ember-dynamic-render-template Client-Side Template Injection via Unsanitized templateString

Published Aug 5, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
The render-template component of ember-dynamic-render-template (addon/components/render-template.js) passes its property directly into Ember/Glimmer's compileTemplate (from @ember/template-compilation) with no sanitization, allow-listing, or validation of the input.

Analysis

AI-generated

Technical impact

The render‑template component in the ember‑dynamic‑render‑template addon passes its property directly to Ember/Glimmer’s compileTemplate function without sanitization, allow‑listing, or validation of the input. This allows client‑side template injection, enabling an attacker to embed arbitrary Handlebars expressions that are compiled and executed within the component’s rendering context. If the application context exposes useful helpers or data, the injected template could execute malicious JavaScript in the user’s browser, potentially leaking session data or other sensitive information.

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 < 1% and the vulnerability is not listed in the CISA KEV catalog, suggesting that no public exploits have been reported yet. Based on the description, the attack vector is client‑side; an attacker supplies malicious content to the component property, which is compiled and executed by the application, leading to a potential XSS attack if the environment permits.

Remediation

No solution or workaround provided in the CVE record.

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 10, 2026 at 20:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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. The render-template component of ember-dynamic-render-template (addon/components/render-template.js) passes its property directly into Ember/Glimmer's compileTemplate (from @ember/template-compilation) with no sanitization, allow-listing, or validation of the input.
Title ember-dynamic-render-template - Client-Side Template Injection via Unsanitized templateString ember-dynamic-render-template Client-Side Template Injection via Unsanitized templateString
Type Values Removed Values Added
Title ember-dynamic-render-template Client-Side Template Injection via Unsanitized templateString ember-dynamic-render-template - Client-Side Template Injection via Unsanitized templateString
Type Values Removed Values Added
First Time appeared Miguelcobain
Miguelcobain ember-dynamic-render-template
Vendors & Products Miguelcobain
Miguelcobain ember-dynamic-render-template
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

Sources

Status
PUBLISHED
Assigner
TuranSec
Published
Updated
Aug 10, 2026, 11:47 AM
Reserved
Aug 5, 2026, 12:23 PM
Status
Deferred
Published
Aug 5, 2026, 1:24 PM
Modified
Oct 23, 2026, 9:10 PM