{
    "CVE_data_meta": {
        "ASSIGNER": "support@hackerone.com",
        "ID": "CVE-2018-3740",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "sanitize (ruby gem)",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 4.6.3"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "Ryan Grove"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "DSA-4358",
                "refsource": "DEBIAN",
                "url": "https://www.debian.org/security/2018/dsa-4358"
            },
            {
                "name": "https://github.com/rgrove/sanitize/issues/176",
                "refsource": "CONFIRM",
                "url": "https://github.com/rgrove/sanitize/issues/176"
            },
            {
                "name": "https://about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-released/",
                "refsource": "CONFIRM",
                "url": "https://about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-released/"
            },
            {
                "name": "https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e",
                "refsource": "CONFIRM",
                "url": "https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e"
            }
        ]
    }
}