{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2021-32855",
        "STATE": "PUBLIC",
        "TITLE": "vditor vulnerable to Cross-site Scripting"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "vditor",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "3.8.7",
                                            "version_value": "3.8.7"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "npm"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Vditor is a browser-side Markdown editor. Versions prior to 3.8.7 are vulnerable to copy-paste cross-site scripting (XSS). For this particular type of XSS, the victim needs to be fooled into copying a malicious payload into the text editor. Version 3.8.7 contains a patch for this issue."
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "impact": {
        "cvss": {
            "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"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-79 Cross-site Scripting (XSS)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/",
                "refsource": "CONFIRM",
                "url": "https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/"
            },
            {
                "name": "https://github.com/Vanessa219/vditor/issues/1085",
                "refsource": "MISC",
                "url": "https://github.com/Vanessa219/vditor/issues/1085"
            },
            {
                "name": "https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146",
                "refsource": "CONFIRM",
                "url": "https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146"
            }
        ]
    },
    "source": {
        "advisory": "GHSL-2021-1006",
        "defect": [
            "GHSL-2021-1006"
        ],
        "discovery": "UNKNOWN"
    }
}