{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-46147",
        "STATE": "PUBLIC",
        "TITLE": "Drag and Drop XBlock v2 has XSS Issues in Xblock Input Fields"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "xblock-drag-and-drop-v2",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 3.0.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "openedx"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Drag and Drop XBlock v2 implements a drag-and-drop style problem, where a learner has to drag items to zones on a target image. Versions prior to 3.0.0 are vulnerable to cross-site scripting in multiple XBlock Fields. Any platform that has deployed the XBlock may be impacted. Version 3.0.0 contains a patch for this issue. There are no known workarounds."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.4,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/openedx/xblock-drag-and-drop-v2/security/advisories/GHSA-qv6c-367r-3w6q",
                "refsource": "CONFIRM",
                "url": "https://github.com/openedx/xblock-drag-and-drop-v2/security/advisories/GHSA-qv6c-367r-3w6q"
            },
            {
                "name": "https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864",
                "refsource": "MISC",
                "url": "https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864"
            },
            {
                "name": "https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a",
                "refsource": "MISC",
                "url": "https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a"
            },
            {
                "name": "https://github.com/openedx/xblock-drag-and-drop-v2/releases/tag/v3.0.0",
                "refsource": "MISC",
                "url": "https://github.com/openedx/xblock-drag-and-drop-v2/releases/tag/v3.0.0"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-qv6c-367r-3w6q",
        "discovery": "UNKNOWN"
    }
}