Skip to content
Heist/ feed
Back to feed
High

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-13320
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:25 UTC · Revision 1

Source evidence

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab

core-osv · Original source

Published 8 Jul 2026, 20:46 UTC

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.

osv:CVE-2026-13320
Complete source record
{
  "id": "8c4c29e50997b8f093b622c52f2165ec152109dfec6978f27c9ba6ac73d413b8",
  "url": "https://osv.dev/vulnerability/CVE-2026-13320",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab",
    "summary": "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.",
    "evidence": "osv:CVE-2026-13320",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-13320",
      "aliases": [
        "BIT-gitlab-2026-13320",
        "CVE-2026-13320"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "bbf6efd2bedaef0d5c2112998a2a34534cc740bb"
                },
                {
                  "fixed": "2a5d30c85c9dce93e4d6beebf3c5d83f4519441a"
                },
                {
                  "introduced": "f07e3c5b3c8128be5db112e5b2b618fe31ea1b35"
                },
                {
                  "fixed": "9f0367e7210ee8f91aa78250f320799b155a9655"
                },
                {
                  "introduced": "67581074a0aab1f53cdafe7eead5f5d07f3afec8"
                },
                {
                  "fixed": "0aff550588c1b76cdf7f53489ac5cd26ca6528a8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "15.7.0"
                      },
                      {
                        "fixed": "18.11.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "15.7.0"
                      },
                      {
                        "fixed": "18.11.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "19.0.0"
                      },
                      {
                        "fixed": "19.0.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "19.0.0"
                      },
                      {
                        "fixed": "19.0.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "19.1.0"
                      },
                      {
                        "fixed": "19.1.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "19.1.0"
                      },
                      {
                        "fixed": "19.1.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v19.1.0-ee",
            "v19.0.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13320.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:22.704149287Z",
      "provider": "osv",
      "references": [
        "https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-1-2-released/",
        "https://gitlab.com/gitlab-org/gitlab/-/work_items/604063",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13320.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-13320",
        "https://hackerone.com/reports/3816917"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitLab",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.7"
                  },
                  {
                    "fixed": "18.11.7"
                  },
                  {
                    "introduced": "19.0"
                  },
                  {
                    "fixed": "19.0.4"
                  },
                  {
                    "introduced": "19.1"
                  },
                  {
                    "fixed": "19.1.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.7"
                  },
                  {
                    "fixed": "18.11.7"
                  },
                  {
                    "introduced": "19.0"
                  },
                  {
                    "fixed": "19.0.4"
                  },
                  {
                    "introduced": "19.1"
                  },
                  {
                    "fixed": "19.1.2"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13320.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-13320",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499652,
  "published_at": "2026-07-08T20:46:13.854+00:00"
}