{
    "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"
            }
        ]
    }
}