Cross-site Scripting (XSS) Affecting ember package, versions [1.4-alpha,1.4.0-beta2) [1.3,1.3.1) [1.2,1.2.1) [1.1,1.1.3) [1,1.0.1)


0.0
low

Snyk CVSS

    Attack Complexity High
    User Interaction Required

    Threat Intelligence

    EPSS 0.07% (28th percentile)
Expand this section
NVD
5.4 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DOTNET-EMBER-60146
  • published 6 Nov 2015
  • disclosed 6 Nov 2015
  • credit Robert Jackson

Overview

Potential XSS Exploit With User-Supplied Data When Using {{group}} Helper

In general, Ember.js escapes or strips any user-supplied content before inserting it in strings that will be sent to innerHTML. However, a vulnerability has been identified that could lead to unescaped content being inserted into the innerHTML string without being sanitized.

Details

When using the {{group}} helper, user supplied content in the template was not being sanitized. Though the vulnerability exists in Ember.js proper, it is only exposed via the use of an experimental plugin.

In applications that use the {{group}} helper, a specially-crafted payload could execute arbitrary JavaScript in the context of the current domain ("XSS").

Impact:

This vulnerability only affects applications that use the {{group}} helper to display user-provided content.