CVE-2026-71286: ember-dynamic-render-template Client-Side Template Injection via Unsanitized templateString
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-71286?
The severity of CVE-2026-71286 is classified as medium with a score of 6.1.
How do I fix CVE-2026-71286?
To fix CVE-2026-71286, ensure proper sanitization, allow-listing, or validation is implemented for the 'templateString' input before passing it to compileTemplate().
What type of vulnerability is CVE-2026-71286?
CVE-2026-71286 is classified as a client-side template injection vulnerability.
Which software is affected by CVE-2026-71286?
The vulnerability affects the ember-dynamic-render-template software.
What component is involved in CVE-2026-71286?
The component involved in CVE-2026-71286 is the render-template component in ember-dynamic-render-template.