CVE-2013-4170

Description

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`.

Severity
MEDIUM
CVSS v3
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N · source nvd
Exploit chance (EPSS)
0.942%
chance of exploitation in the next 30 days
higher than 61.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2022-06-30Published by the CNA12:38 UTC
  2. 2022-07-01GitHub advisory published (GHSA-5m48-c37x-f792)1 day after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-5m48-c37x-f792, affected packages:

PackageVulnerable versionsFixed in
RubyGems ember-sourcebefore 1.0.0.rc1.11.0.0.rc1.1
RubyGems ember-sourcefrom 1.0.0.rc2.0 before 1.0.0.rc2.11.0.0.rc2.1
RubyGems ember-sourcefrom 1.0.0.rc3.0 before 1.0.0.rc3.11.0.0.rc3.1
RubyGems ember-sourcefrom 1.0.0.rc4.0 before 1.0.0.rc4.11.0.0.rc4.1
RubyGems ember-sourcefrom 1.0.0.rc5.0 before 1.0.0.rc5.11.0.0.rc5.1

1 more affected packages in the advisory.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
emberjs ember.jsbefore 1.0.0fixed in 1.0.01.0.0no fix listed1.0.0not listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources