{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2013-4170",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "ember-source",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "ember-source  < 1.0.0.rc1.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-79"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://rubysec.com/advisories/CVE-2013-4170/",
                "url": "https://rubysec.com/advisories/CVE-2013-4170/"
            },
            {
                "refsource": "MISC",
                "name": "https://security.snyk.io/vuln/SNYK-RUBY-EMBERSOURCE-20102",
                "url": "https://security.snyk.io/vuln/SNYK-RUBY-EMBERSOURCE-20102"
            },
            {
                "refsource": "MISC",
                "name": "https://groups.google.com/g/ember-security/c/dokLVwwxAdM",
                "url": "https://groups.google.com/g/ember-security/c/dokLVwwxAdM"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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`."
            }
        ]
    }
}