CVE-2013-4170
MEDIUM 6.1CVSS 3.1Ember.js Potential XSS Exploit When Binding `tagName` to User-Supplied Data
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.
- Published
- 30 Jun 2022
- Last modified
- 10 Sep 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-5m48-c37x-f792
- Sources
- NVDJSONOSV GHSA-5m48-c37x-f792JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.6 | AV:N/AC:H/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | emberjs | ember.jscpe:2.3:a:emberjs:ember.js:*:*:*:*:*:*:*:* |
< 1.0.0 | 1.0.0 |
| NVD | emberjs | ember.jscpe:2.3:a:emberjs:ember.js:1.0.0:rc1:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | emberjs | ember.jscpe:2.3:a:emberjs:ember.js:1.0.0:rc2:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | emberjs | ember.jscpe:2.3:a:emberjs:ember.js:1.0.0:rc3:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | emberjs | ember.jscpe:2.3:a:emberjs:ember.js:1.0.0:rc4:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | emberjs | ember.jscpe:2.3:a:emberjs:ember.js:1.0.0:rc5:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | emberjs | ember.jscpe:2.3:a:emberjs:ember.js:1.0.0:rc6:*:*:*:*:*:* |
= 1.0.0 | |
| OSV | RubyGems | ember-source | < 1.0.0.rc1.1 | 1.0.0.rc1.1 |
| OSV | RubyGems | ember-source | >= 1.0.0.rc2.0, < 1.0.0.rc2.1 | 1.0.0.rc2.1 |
| OSV | RubyGems | ember-source | >= 1.0.0.rc3.0, < 1.0.0.rc3.1 | 1.0.0.rc3.1 |
| OSV | RubyGems | ember-source | >= 1.0.0.rc4.0, < 1.0.0.rc4.1 | 1.0.0.rc4.1 |
| OSV | RubyGems | ember-source | >= 1.0.0.rc5.0, < 1.0.0.rc5.1 | 1.0.0.rc5.1 |
| OSV | RubyGems | ember-source | >= 1.0.0.rc6.0, < 1.0.0.rc6.1 | 1.0.0.rc6.1 |
References
- https://groups.google.com/g/ember-security/c/dokLVwwxAdM · Mailing List, Patch, Third Party Advisory, WEB
- https://rubysec.com/advisories/CVE-2013-4170/ · Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-RUBY-EMBERSOURCE-20102 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2013-4170 · ADVISORY
- https://github.com/emberjs/ember.js · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ember-source/CVE-2013-4170.yml · WEB
- https://groups.google.com/forum/#!topic/ember-security/dokLVwwxAdM · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 30 Jun 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2022)