{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2021-22232",
        "ASSIGNER": "cve@gitlab.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "GitLab",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "GitLab",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": ">=9.5, <13.11.6"
                                        },
                                        {
                                            "version_value": ">=13.12, <13.12.6"
                                        },
                                        {
                                            "version_value": ">=14.0, <14.0.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Improper limitation of a pathname to a restricted directory ('path traversal') in GitLab"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://gitlab.com/gitlab-org/gitlab/-/issues/300713",
                "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/300713",
                "refsource": "MISC"
            },
            {
                "name": "https://hackerone.com/reports/1090634",
                "url": "https://hackerone.com/reports/1090634",
                "refsource": "MISC"
            },
            {
                "name": "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22232.json",
                "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22232.json",
                "refsource": "CONFIRM"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "HTML injection was possible via the full name field before versions 13.11.6, 13.12.6, and 14.0.2 in GitLab CE"
            }
        ]
    },
    "impact": {
        "cvss": {
            "vectorString": "AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "version": "3.1",
            "baseScore": 3.5,
            "baseSeverity": "LOW"
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Thanks andor404 for reporting this vulnerability through our HackerOne bug bounty program"
        }
    ]
}