{"id":"CVE-2013-4170","published":"2022-06-30T12:38:42Z","modified":"2024-08-06T16:38:01Z","title":"In general, Ember.js escapes or strips any user-supplied content before inserting it in strings that will be sent to…","vendor":null,"product":null,"tier":"tail","description":{"text":"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`.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00957,"percentile":0.62287,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://rubysec.com/advisories/CVE-2013-4170/","tags":["x_refsource_MISC"]},{"url":"https://security.snyk.io/vuln/SNYK-RUBY-EMBERSOURCE-20102","tags":["x_refsource_MISC"]},{"url":"https://groups.google.com/g/ember-security/c/dokLVwwxAdM","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":12.46}]},"affectedVersions":[{"vendor":"n/a","product":"ember-source","versions":["ember-source  < 1.0.0.rc1.1"]}],"affected":[{"ecosystem":"RubyGems","package":"ember-source","vulnerableRanges":["<1.0.0.rc1.1",">=1.0.0.rc2.0, <1.0.0.rc2.1",">=1.0.0.rc3.0, <1.0.0.rc3.1",">=1.0.0.rc4.0, <1.0.0.rc4.1",">=1.0.0.rc5.0, <1.0.0.rc5.1",">=1.0.0.rc6.0, <1.0.0.rc6.1"],"patched":["1.0.0.rc1.1","1.0.0.rc2.1","1.0.0.rc3.1","1.0.0.rc4.1","1.0.0.rc5.1","1.0.0.rc6.1"],"from":["GHSA-5m48-c37x-f792"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting issue in Ember.js, where the tagName property of an Ember.View is inserted into an innerHTML string without sanitization, unlike other user-supplied content that Ember escapes or strips. An attacker can execute arbitrary JavaScript in the context of the current domain, but only in applications that assign or bind user-provided data to a view's tagName, so the payload must reach that property through the application's own code path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:17Z"},"euvd":{"id":"EUVD-2022-6246","exploited":false,"provenance":"source"}}