{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2022-1940",
        "ASSIGNER": "cve@gitlab.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "GitLab",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "GitLab",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": ">=13.11, <14.9.5"
                                        },
                                        {
                                            "version_value": ">=14.10, <14.10.4"
                                        },
                                        {
                                            "version_value": ">=15.0, <15.0.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Improper neutralization of input during web page generation ('cross-site scripting') in GitLab"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://gitlab.com/gitlab-org/gitlab/-/issues/359142",
                "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/359142",
                "refsource": "MISC"
            },
            {
                "name": "https://hackerone.com/reports/1533976",
                "url": "https://hackerone.com/reports/1533976",
                "refsource": "MISC"
            },
            {
                "name": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1940.json",
                "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1940.json",
                "refsource": "CONFIRM"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A Stored Cross-Site Scripting vulnerability in Jira integration in GitLab EE affecting all versions from 13.11 prior to 14.9.5, 14.10 prior to 14.10.4, and 15.0 prior to 15.0.1 allows an attacker to execute arbitrary JavaScript code in GitLab on a victim's behalf via specially crafted Jira Issues"
            }
        ]
    },
    "impact": {
        "cvss": {
            "vectorString": "AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N",
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "version": "3.1",
            "baseScore": 7.6,
            "baseSeverity": "HIGH"
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Thanks [joaxcar](https://hackerone.com/joaxcar) for reporting this vulnerability through our HackerOne bug bounty program"
        }
    ]
}