GSD-2018-6341

Vulnerability from gsd - Updated: 2023-12-13 01:22
Details
React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names at render-time. That lack of escaping could lead to a cross-site scripting vulnerability. This issue affected minor releases 16.0.x, 16.1.x, 16.2.x, 16.3.x, and 16.4.x. It was fixed in 16.0.1, 16.1.2, 16.2.1, 16.3.3, and 16.4.2.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2018-6341",
    "description": "React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names at render-time. That lack of escaping could lead to a cross-site scripting vulnerability. This issue affected minor releases 16.0.x, 16.1.x, 16.2.x, 16.3.x, and 16.4.x. It was fixed in 16.0.1, 16.1.2, 16.2.1, 16.3.3, and 16.4.2.",
    "id": "GSD-2018-6341"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2018-6341"
      ],
      "details": "React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names at render-time. That lack of escaping could lead to a cross-site scripting vulnerability. This issue affected minor releases 16.0.x, 16.1.x, 16.2.x, 16.3.x, and 16.4.x. It was fixed in 16.0.1, 16.1.2, 16.2.1, 16.3.3, and 16.4.2.",
      "id": "GSD-2018-6341",
      "modified": "2023-12-13T01:22:35.745689Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve-assign@fb.com",
        "DATE_ASSIGNED": "2018-08-01",
        "ID": "CVE-2018-6341",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "react-dom",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "!=\u003e",
                          "version_value": "16.4.2"
                        },
                        {
                          "version_affected": "\u003e=",
                          "version_value": "16.4.0"
                        },
                        {
                          "version_affected": "!=\u003e",
                          "version_value": "16.3.3"
                        },
                        {
                          "version_affected": "\u003e=",
                          "version_value": "16.3.0"
                        },
                        {
                          "version_affected": "!=\u003e",
                          "version_value": "16.2.1"
                        },
                        {
                          "version_affected": "\u003e=",
                          "version_value": "16.2.0"
                        },
                        {
                          "version_affected": "!=\u003e",
                          "version_value": "16.1.2"
                        },
                        {
                          "version_affected": "\u003e=",
                          "version_value": "16.1.0"
                        },
                        {
                          "version_affected": "!=\u003e",
                          "version_value": "16.0.1"
                        },
                        {
                          "version_affected": "\u003e=",
                          "version_value": "16.0.0"
                        },
                        {
                          "version_affected": "!\u003c",
                          "version_value": "16.0.0"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Facebook"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names at render-time. That lack of escaping could lead to a cross-site scripting vulnerability. This issue affected minor releases 16.0.x, 16.1.x, 16.2.x, 16.3.x, and 16.4.x. It was fixed in 16.0.1, 16.1.2, 16.2.1, 16.3.3, and 16.4.2."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "Improper Neutralization of Input During Web Page Generation (CWE-79)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html",
            "refsource": "MISC",
            "url": "https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html"
          },
          {
            "name": "https://twitter.com/reactjs/status/1024745321987887104",
            "refsource": "MISC",
            "url": "https://twitter.com/reactjs/status/1024745321987887104"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "=16.0.0||\u003e=16.1.0 \u003c16.1.2||=16.2.0||\u003e=16.3.0 \u003c16.3.3||\u003e=16.4.0 \u003c16.4.2",
          "affected_versions": "Version 16.0.0, all versions starting from 16.1.0 before 16.1.2, version 16.2.0, all versions starting from 16.3.0 before 16.3.3, all versions starting from 16.4.0 before 16.4.2",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2021-01-08",
          "description": "React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names at render-time.",
          "fixed_versions": [
            "16.0.1",
            "16.1.2",
            "16.2.1",
            "16.3.3",
            "16.4.2"
          ],
          "identifier": "CVE-2018-6341",
          "identifiers": [
            "GHSA-mvjj-gqq2-p4hw",
            "CVE-2018-6341"
          ],
          "not_impacted": "All versions before 16.0.0, all versions after 16.0.0 before 16.1.0, all versions starting from 16.1.2 before 16.2.0, all versions after 16.2.0 before 16.3.0, all versions starting from 16.3.3 before 16.4.0, all versions starting from 16.4.2",
          "package_slug": "npm/react-dom",
          "pubdate": "2019-01-04",
          "solution": "Upgrade to versions 16.0.1, 16.1.2, 16.2.1, 16.3.3, 16.4.2 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2018-6341",
            "https://github.com/advisories/GHSA-mvjj-gqq2-p4hw",
            "https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html",
            "https://snyk.io/vuln/npm:react-dom:20180802",
            "https://www.npmjs.com/advisories/1421",
            "https://twitter.com/reactjs/status/1024745321987887104"
          ],
          "uuid": "8cc250d3-cc0d-48c8-bc67-ecdc5dd0dec5"
        },
        {
          "affected_range": "\u003e=16.0.0 \u003c16.0.1||\u003e=16.1.0 \u003c16.1.2||\u003e=16.2.0 \u003c16.2.1||\u003e=16.3.0 \u003c16.3.3||\u003e=16.4.0 \u003c16.4.2",
          "affected_versions": "All versions starting from 16.0.0 before 16.0.1, all versions starting from 16.1.0 before 16.1.2, all versions starting from 16.2.0 before 16.2.1, all versions starting from 16.3.0 before 16.3.3, all versions starting from 16.4.0 before 16.4.2",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2019-10-09",
          "description": "React applications which rendered to HTML using the `ReactDOMServer` API were not escaping user-supplied attribute names at render-time. That lack of escaping could lead to a cross-site scripting vulnerability.",
          "fixed_versions": [
            "16.4.2"
          ],
          "identifier": "CVE-2018-6341",
          "identifiers": [
            "CVE-2018-6341"
          ],
          "not_impacted": "All versions before 16.0.0, all versions starting from 16.0.1 before 16.1.0, all versions starting from 16.1.2 before 16.2.0, all versions starting from 16.2.1 before 16.3.0, all versions starting from 16.3.3 before 16.4.0, all versions starting from 16.4.2",
          "package_slug": "npm/react",
          "pubdate": "2018-12-31",
          "solution": "Upgrade to version 16.4.2 or above.",
          "title": "Cross-site Scripting",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2018-6341",
            "https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html",
            "https://twitter.com/reactjs/status/1024745321987887104"
          ],
          "uuid": "4dd14443-4f24-4c3c-91db-b2b26d372ab5"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "16.2.1",
                "versionStartIncluding": "16.2.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "16.3.3",
                "versionStartIncluding": "16.3.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "16.4.2",
                "versionStartIncluding": "16.4.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "16.0.1",
                "versionStartIncluding": "16.0.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "16.1.2",
                "versionStartIncluding": "16.1.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve-assign@fb.com",
          "ID": "CVE-2018-6341"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names at render-time. That lack of escaping could lead to a cross-site scripting vulnerability. This issue affected minor releases 16.0.x, 16.1.x, 16.2.x, 16.3.x, and 16.4.x. It was fixed in 16.0.1, 16.1.2, 16.2.1, 16.3.3, and 16.4.2."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://twitter.com/reactjs/status/1024745321987887104",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://twitter.com/reactjs/status/1024745321987887104"
            },
            {
              "name": "https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html",
              "refsource": "MISC",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.1,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
            "version": "3.0"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 2.7
        }
      },
      "lastModifiedDate": "2019-10-09T23:41Z",
      "publishedDate": "2018-12-31T22:29Z"
    }
  }
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…