Refine your search

1 vulnerability found for react-dom by Facebook

CVE-2018-6341 (GCVE-0-2018-6341)
Vulnerability from cvelistv5
Published
2018-12-31 22:00
Modified
2025-05-06 16:54
CWE
  • CWE-79 - Improper Neutralization of Input During Web Page Generation ()
Summary
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.
Impacted products
Vendor Product Version
Facebook react-dom Version: 16.4.2
Version: 16.4.0   < unspecified
Version: 16.3.3
Version: 16.3.0   < unspecified
Version: 16.2.1
Version: 16.2.0   < unspecified
Version: 16.1.2
Version: 16.1.0   < unspecified
Version: 16.0.1
Version: 16.0.0   < unspecified
Patch: unspecified   < 16.0.0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-05T06:01:48.794Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://twitter.com/reactjs/status/1024745321987887104"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 6.1,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "LOW",
              "integrityImpact": "LOW",
              "privilegesRequired": "NONE",
              "scope": "CHANGED",
              "userInteraction": "REQUIRED",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2018-6341",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-05-06T16:54:12.196558Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-05-06T16:54:17.932Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "react-dom",
          "vendor": "Facebook",
          "versions": [
            {
              "status": "affected",
              "version": "16.4.2"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "16.4.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "16.3.3"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "16.3.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "16.2.1"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "16.2.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "16.1.2"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "16.1.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "16.0.1"
            },
            {
              "lessThan": "unspecified",
              "status": "affected",
              "version": "16.0.0",
              "versionType": "custom"
            },
            {
              "lessThan": "16.0.0",
              "status": "unaffected",
              "version": "unspecified",
              "versionType": "custom"
            }
          ]
        }
      ],
      "dateAssigned": "2018-08-01T00:00:00.000Z",
      "datePublic": "2018-12-31T00:00:00.000Z",
      "descriptions": [
        {
          "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-79",
              "description": "Improper Neutralization of Input During Web Page Generation (CWE-79)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2018-12-31T21:57:01.000Z",
        "orgId": "4fc57720-52fe-4431-a0fb-3d2c8747b827",
        "shortName": "facebook"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://twitter.com/reactjs/status/1024745321987887104"
        }
      ],
      "x_legacyV4Record": {
        "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"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "4fc57720-52fe-4431-a0fb-3d2c8747b827",
    "assignerShortName": "facebook",
    "cveId": "CVE-2018-6341",
    "datePublished": "2018-12-31T22:00:00.000Z",
    "dateReserved": "2018-01-26T00:00:00.000Z",
    "dateUpdated": "2025-05-06T16:54:17.932Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}