{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-2865",
        "assignerOrgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a",
        "assignerShortName": "GitLab",
        "dateUpdated": "2024-08-03T00:52:59.590Z",
        "dateReserved": "2022-08-16T00:00:00",
        "datePublished": "2022-10-17T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a",
                "shortName": "GitLab",
                "dateUpdated": "2022-10-17T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A cross-site scripting issue has been discovered in GitLab CE/EE affecting all versions before 15.1.6, 15.2 to 15.2.4 and 15.3 prior to 15.3.2. It was possible to exploit a vulnerability in setting the labels colour feature which could lead to a stored XSS that allowed attackers to perform arbitrary actions on behalf of victims at client side."
                }
            ],
            "affected": [
                {
                    "vendor": "GitLab",
                    "product": "GitLab",
                    "versions": [
                        {
                            "version": ">=9.0, <15.1.6",
                            "status": "affected"
                        },
                        {
                            "version": ">=15.2, <15.2.4",
                            "status": "affected"
                        },
                        {
                            "version": ">=15.3, <15.3.2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/370873"
                },
                {
                    "url": "https://hackerone.com/reports/1665658"
                },
                {
                    "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2865.json"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Thanks [yvvdwf](https://hackerone.com/yvvdwf) for reporting this vulnerability through our HackerOne bug bounty program"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "HIGH",
                        "userInteraction": "REQUIRED",
                        "scope": "CHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "NONE",
                        "baseScore": 7.3,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "Improper neutralization of input during web page generation ('cross-site scripting') in GitLab"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T00:52:59.590Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/370873",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://hackerone.com/reports/1665658",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2865.json",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}