{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-13320",
        "assignerOrgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a",
        "state": "PUBLISHED",
        "assignerShortName": "GitLab",
        "dateReserved": "2026-06-25T08:13:57.255Z",
        "datePublished": "2026-07-08T20:46:13.854Z",
        "dateUpdated": "2026-07-09T13:41:48.373Z"
    },
    "containers": {
        "cna": {
            "title": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "GitLab has remediated an issue in GitLab CE/EE affecting all versions from 15.7 before 18.11.7, 19.0 before 19.0.4, and 19.1 before 19.1.2 that under certain conditions could have allowed an authenticated user to execute arbitrary scripts in another user's browser session due to improper sanitization of user-supplied input."
                }
            ],
            "affected": [
                {
                    "vendor": "GitLab",
                    "product": "GitLab",
                    "repo": "git://git@gitlab.com:gitlab-org/gitlab.git",
                    "cpes": [
                        "cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"
                    ],
                    "versions": [
                        {
                            "version": "15.7",
                            "status": "affected",
                            "lessThan": "18.11.7",
                            "versionType": "semver"
                        },
                        {
                            "version": "19.0",
                            "status": "affected",
                            "lessThan": "19.0.4",
                            "versionType": "semver"
                        },
                        {
                            "version": "19.1",
                            "status": "affected",
                            "lessThan": "19.1.2",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "cweId": "CWE-79",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://gitlab.com/gitlab-org/gitlab/-/work_items/604063"
                },
                {
                    "url": "https://hackerone.com/reports/3816917",
                    "name": "HackerOne Bug Bounty Report #3816917",
                    "tags": [
                        "technical-description",
                        "exploit",
                        "permissions-required"
                    ]
                },
                {
                    "url": "https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-1-2-released/"
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "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"
                    }
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "Upgrade to versions 18.11.7, 19.0.4, 19.1.2 or above."
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Thanks [youzslan](https://hackerone.com/youzslan) and [a_m_a_m](https://hackerone.com/a_m_a_m) for reporting this vulnerability through our HackerOne bug bounty program",
                    "type": "finder"
                }
            ],
            "providerMetadata": {
                "orgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a",
                "shortName": "GitLab",
                "dateUpdated": "2026-07-08T20:46:13.854Z"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-07-09T13:41:38.644164Z",
                                "id": "CVE-2026-13320",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-07-09T13:41:48.373Z"
                }
            }
        ]
    }
}