Cross-site Scripting (XSS) Affecting ember-source package, versions < 1.0.0.rc1.1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.07% (33rd 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-20102
  • published24 Jul 2013
  • disclosed24 Jul 2013
  • creditTom Dale

Introduced: 24 Jul 2013

CVE-2013-4170  (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.

In general, Ember.js escapes or strips any user-supplied content before inserting it in strings that will be sent to innerHTML. However, the tagName property of an Ember.View was inserted into such a string without being sanitized. This means that if an application assigns a view's tagName to user-supplied data, a specially-crafted payload could execute arbitrary JavaScript in the context of the current domain ("XSS").

This vulnerability only affects applications that assign or bind user-provided content to tagName.

Details

<>

CVSS Scores

version 3.1