Loading...
Skip to main content

CVE-2013-4170 — Vulnerability in ember-source — CVE Details

MEDIUM

Ember.js Potential XSS Exploit When Binding `tagName` to User-Supplied Data

Published July 1, 2022Updated September 10, 2026Source: osv

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 (1564 days ago).
  • Last revised September 10, 2026 — 1532 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update ember-source to 1.0.0.rc1.1 or later
gem install ember-source -v 1.0.0.rc1.1
Bundler
Update ember-source to 1.0.0.rc6.1 or later
gem install ember-source -v 1.0.0.rc6.1
Bundler
Update ember-source to 1.0.0.rc5.1 or later
gem install ember-source -v 1.0.0.rc5.1
Bundler
Update ember-source to 1.0.0.rc4.1 or later
gem install ember-source -v 1.0.0.rc4.1
Bundler
Update ember-source to 1.0.0.rc3.1 or later
gem install ember-source -v 1.0.0.rc3.1
Bundler
Update ember-source to 1.0.0.rc2.1 or later
gem install ember-source -v 1.0.0.rc2.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
ember-source
rubygems
0.0.1, 0.0.2, 0.0.3, 0.0.4 (+9 more)1.0.0.rc1.1
ember-source
rubygems
1.0.0.rc6, 1.0.0.rc6.01.0.0.rc6.1
ember-source
rubygems
1.0.0.rc5, 1.0.0.rc5.01.0.0.rc5.1
ember-source
rubygems
1.0.0.rc4, 1.0.0.rc4.01.0.0.rc4.1
ember-source
rubygems
1.0.0.rc3, 1.0.0.rc3.01.0.0.rc3.1
ember-source
rubygems
1.0.0.rc2.01.0.0.rc2.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2013-4170 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.1

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-5m48-c37x-f792

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies