CVE-2013-4170 — Vulnerability in ember-source — CVE Details
Ember.js Potential XSS Exploit When Binding `tagName` to User-Supplied Data
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.96%). Schedule for your next planned update.
Does your project use an affected ember-source version?
Paste your Gemfile.lock to check it for CVE-2013-4170 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published July 1, 2022 (1609 days ago).
- Last revised September 10, 2026 — 1532 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install ember-source -v 1.0.0.rc1.1
gem install ember-source -v 1.0.0.rc6.1
gem install ember-source -v 1.0.0.rc5.1
gem install ember-source -v 1.0.0.rc4.1
gem install ember-source -v 1.0.0.rc3.1
gem install ember-source -v 1.0.0.rc2.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| ember-source RubyGems · Affected: 0.0.1, 0.0.2, 0.0.3, 0.0.4 (+9 more) | 1.0.0.rc1.1 |
| ember-source RubyGems · Affected: 1.0.0.rc6, 1.0.0.rc6.0 | 1.0.0.rc6.1 |
| ember-source RubyGems · Affected: 1.0.0.rc5, 1.0.0.rc5.0 | 1.0.0.rc5.1 |
| ember-source RubyGems · Affected: 1.0.0.rc4, 1.0.0.rc4.0 | 1.0.0.rc4.1 |
| ember-source RubyGems · Affected: 1.0.0.rc3, 1.0.0.rc3.0 | 1.0.0.rc3.1 |
| ember-source RubyGems · Affected: 1.0.0.rc2.0 | 1.0.0.rc2.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-4170ADVISORY
- https://github.com/emberjs/ember.jsPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ember-source/CVE-2013-4170.ymlWEB
- https://groups.google.com/forum/#!topic/ember-security/dokLVwwxAdMWEB
- https://groups.google.com/g/ember-security/c/dokLVwwxAdMWEB
- https://rubysec.com/advisories/CVE-2013-4170WEB
- https://security.snyk.io/vuln/SNYK-RUBY-EMBERSOURCE-20102WEB
Frequently Asked Questions
- What is CVE-2013-4170?
- Ember.js Potential XSS Exploit When Binding `tagName` to User-Supplied Data. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.1/10).
- How do I check if my project is affected by CVE-2013-4170?
- CVE-2013-4170 affects ember-source. It has a 1.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2013-4170 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is an above-median EPSS score — 60% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-128084MEDIUM
sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger
- CVE-2014-0013MEDIUM
Ember.js Cross-site Scripting vulnerability
- CVE-2026-115472MEDIUM
Doorkeeper: When using public clients, any client can revoke any access token
- CVE-2015-7565MEDIUM
ember-source Cross-site Scripting vulnerability
- CVE-2015-1866MEDIUM
ember-source vulnerable to Cross-site Scripting
- CVE-2014-0014MEDIUM
ember-source Cross-site Scripting vulnerability