CVE-2013-4170 (GCVE-0-2013-4170)
Vulnerability from cvelistv5
Published
2022-06-30 12:38
Modified
2024-08-06 16:38
Severity ?
CWE
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`.
Impacted products
Vendor Product Version
n/a ember-source Version: ember-source < 1.0.0.rc1.1
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T16:38:01.461Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://rubysec.com/advisories/CVE-2013-4170/"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://security.snyk.io/vuln/SNYK-RUBY-EMBERSOURCE-20102"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://groups.google.com/g/ember-security/c/dokLVwwxAdM"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "ember-source",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "ember-source  \u003c 1.0.0.rc1.1"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "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\u0027s `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`."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-79",
              "description": "CWE-79",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2022-06-30T12:38:42",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "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"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2013-4170",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "ember-source",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "ember-source  \u003c 1.0.0.rc1.1"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "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\u0027s `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`."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://rubysec.com/advisories/CVE-2013-4170/",
              "refsource": "MISC",
              "url": "https://rubysec.com/advisories/CVE-2013-4170/"
            },
            {
              "name": "https://security.snyk.io/vuln/SNYK-RUBY-EMBERSOURCE-20102",
              "refsource": "MISC",
              "url": "https://security.snyk.io/vuln/SNYK-RUBY-EMBERSOURCE-20102"
            },
            {
              "name": "https://groups.google.com/g/ember-security/c/dokLVwwxAdM",
              "refsource": "MISC",
              "url": "https://groups.google.com/g/ember-security/c/dokLVwwxAdM"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2013-4170",
    "datePublished": "2022-06-30T12:38:42",
    "dateReserved": "2013-06-12T00:00:00",
    "dateUpdated": "2024-08-06T16:38:01.461Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2013-4170\",\"sourceIdentifier\":\"secalert@redhat.com\",\"published\":\"2022-06-30T13:15:08.230\",\"lastModified\":\"2024-11-21T01:55:01.870\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"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\u0027s `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`.\"},{\"lang\":\"es\",\"value\":\"En general, Ember.js escapa o elimina cualquier contenido suministrado por el usuario antes de insertarlo en las cadenas que ser\u00e1n enviadas a innerHTML. Sin embargo, la propiedad \\\"tagName\\\" de un \\\"Ember.View\\\" fue insertada en dicha cadena sin ser saneada. Esto significa que si una aplicaci\u00f3n asigna el \\\"tagName\\\" de una vista a datos suministrados por el usuario, una carga \u00fatil especialmente dise\u00f1ada podr\u00eda ejecutar JavaScript arbitrario en el contexto del dominio actual (\\\"XSS\\\"). Esta vulnerabilidad s\u00f3lo afecta a aplicaciones que asignan o vinculan contenido proporcionado por el usuario a \\\"tagName\\\"\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N\",\"baseScore\":6.1,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":2.7}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:H/Au:N/C:N/I:P/A:N\",\"baseScore\":2.6,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"HIGH\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"NONE\"},\"baseSeverity\":\"LOW\",\"exploitabilityScore\":4.9,\"impactScore\":2.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":true}]},\"weaknesses\":[{\"source\":\"secalert@redhat.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-79\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-79\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:emberjs:ember.js:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"1.0.0\",\"matchCriteriaId\":\"41A481D2-4EBC-467F-A853-7D413A51E843\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:emberjs:ember.js:1.0.0:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"566747B2-6B01-47CE-8E3E-EE41E734CB0C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:emberjs:ember.js:1.0.0:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"F7129C1F-17EB-4FF0-9C98-F967716D82D4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:emberjs:ember.js:1.0.0:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"BD322617-FC0D-442A-9A29-DB7141BA9F67\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:emberjs:ember.js:1.0.0:rc4:*:*:*:*:*:*\",\"matchCriteriaId\":\"51AEB9F0-5AC6-4420-BBEE-ECD30A3A1147\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:emberjs:ember.js:1.0.0:rc5:*:*:*:*:*:*\",\"matchCriteriaId\":\"4263C3AB-7D4B-4F45-915E-1417106E3FC1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:emberjs:ember.js:1.0.0:rc6:*:*:*:*:*:*\",\"matchCriteriaId\":\"95DF583D-1DB8-4B53-A027-3FC23770EF64\"}]}]}],\"references\":[{\"url\":\"https://groups.google.com/g/ember-security/c/dokLVwwxAdM\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Mailing List\",\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://rubysec.com/advisories/CVE-2013-4170/\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-RUBY-EMBERSOURCE-20102\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://groups.google.com/g/ember-security/c/dokLVwwxAdM\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Mailing List\",\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://rubysec.com/advisories/CVE-2013-4170/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-RUBY-EMBERSOURCE-20102\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Third Party Advisory\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…