Cross-site Scripting (XSS) Affecting ember-source package, versions < 2.2.1, >= 2.2< 2.1.2, >= 2.1< 2.0.3, >= 1.14< 1.13.12, >= 1.13< 1.12.2, >= 1.12< 1.11.4, >= 1.8.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (46th percentile)

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 Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-EMBERSOURCE-20251
  • published13 Jan 2016
  • disclosed13 Jan 2016
  • creditTom Dale

Introduced: 13 Jan 2016

CVE-2015-7565  (opens in a new tab)
CWE-79  (opens in a new tab)

Overview

ember is an Ember.js source code wrapper for use with Ruby libs.

Affected versions of this gem allow an attacker to execute a Cross-site Scripting (XSS) attack. By default, Ember will escape any values in Handlebars templates that use double curlies ({{value}}). Developers can specifically opt out of this escaping behavior by passing an instance of SafeString rather than a raw string, which tells Ember that it should not escape the string because the developer has taken responsibility for escapement.

It is possible for an attacker to create a specially-crafted payload that causes a non-sanitized string to be treated as a SafeString, and thus bypass Ember's normal escaping behavior.

Details

<>

CVSS Scores

version 3.1