{"id":"CVE-2013-4170","aliases":[],"url":"https://o3.security/vulnerability/CVE-2013-4170","summary":"Ember.js Potential XSS Exploit When Binding `tagName` to User-Supplied Data","details":"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":"2022-07-01T00:01:11Z","modified":"2026-09-10T03:49:55.212583306Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"ember-source","fixedVersion":"1.0.0.rc1.1"},{"ecosystem":"RubyGems","name":"ember-source","fixedVersion":"1.0.0.rc2.1"},{"ecosystem":"RubyGems","name":"ember-source","fixedVersion":"1.0.0.rc3.1"},{"ecosystem":"RubyGems","name":"ember-source","fixedVersion":"1.0.0.rc4.1"},{"ecosystem":"RubyGems","name":"ember-source","fixedVersion":"1.0.0.rc5.1"},{"ecosystem":"RubyGems","name":"ember-source","fixedVersion":"1.0.0.rc6.1"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4170"},{"type":"PACKAGE","url":"https://github.com/emberjs/ember.js"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ember-source/CVE-2013-4170.yml"},{"type":"WEB","url":"https://groups.google.com/forum/#!topic/ember-security/dokLVwwxAdM"},{"type":"WEB","url":"https://groups.google.com/g/ember-security/c/dokLVwwxAdM"},{"type":"WEB","url":"https://rubysec.com/advisories/CVE-2013-4170"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-RUBY-EMBERSOURCE-20102"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-10T03:49:55.212583306Z"}}