{
    "containers": {
        "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",
            "datePublic": "2018-12-31T00:00:00",
            "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",
                "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": "!=>",
                                                        "version_value": "16.4.2"
                                                    },
                                                    {
                                                        "version_affected": ">=",
                                                        "version_value": "16.4.0"
                                                    },
                                                    {
                                                        "version_affected": "!=>",
                                                        "version_value": "16.3.3"
                                                    },
                                                    {
                                                        "version_affected": ">=",
                                                        "version_value": "16.3.0"
                                                    },
                                                    {
                                                        "version_affected": "!=>",
                                                        "version_value": "16.2.1"
                                                    },
                                                    {
                                                        "version_affected": ">=",
                                                        "version_value": "16.2.0"
                                                    },
                                                    {
                                                        "version_affected": "!=>",
                                                        "version_value": "16.1.2"
                                                    },
                                                    {
                                                        "version_affected": ">=",
                                                        "version_value": "16.1.0"
                                                    },
                                                    {
                                                        "version_affected": "!=>",
                                                        "version_value": "16.0.1"
                                                    },
                                                    {
                                                        "version_affected": ">=",
                                                        "version_value": "16.0.0"
                                                    },
                                                    {
                                                        "version_affected": "!<",
                                                        "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"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-05T06:01:48.794Z"
                },
                "title": "CVE Program Container",
                "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"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "4fc57720-52fe-4431-a0fb-3d2c8747b827",
        "assignerShortName": "facebook",
        "cveId": "CVE-2018-6341",
        "datePublished": "2018-12-31T22:00:00",
        "dateReserved": "2018-01-26T00:00:00",
        "dateUpdated": "2024-08-05T06:01:48.794Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}