{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-4007",
        "assignerOrgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a",
        "assignerShortName": "GitLab",
        "dateUpdated": "2024-08-03T01:27:54.166Z",
        "dateReserved": "2022-11-15T00:00:00",
        "datePublished": "2023-03-08T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a",
                "shortName": "GitLab",
                "dateUpdated": "2023-03-08T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A issue has been discovered in GitLab CE/EE affecting all versions from 15.3 prior to 15.7.8, version 15.8 prior to 15.8.4, and version 15.9 prior to 15.9.2 A cross-site scripting vulnerability was found in the title field of work items that allowed attackers to perform arbitrary actions on behalf of victims at client side."
                }
            ],
            "affected": [
                {
                    "vendor": "GitLab",
                    "product": "GitLab",
                    "versions": [
                        {
                            "version": ">=15.3, <15.7.8",
                            "status": "affected"
                        },
                        {
                            "version": ">=15.8, <15.8.4",
                            "status": "affected"
                        },
                        {
                            "version": ">=15.9, <15.9.2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/382789"
                },
                {
                    "url": "https://hackerone.com/reports/1767745"
                },
                {
                    "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4007.json"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Thanks [ryotak](https://hackerone.com/ryotak) for reporting this vulnerability through our HackerOne bug bounty program"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "REQUIRED",
                        "scope": "CHANGED",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.4,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "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-03T01:27:54.166Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/382789",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://hackerone.com/reports/1767745",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4007.json",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}