{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
              "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
              "cpe:2.3:a:gitlab:gitlab:18.11.0:*:*:*:community:*:*:*",
              "cpe:2.3:a:gitlab:gitlab:18.11.0:*:*:*:enterprise:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "16.1.0"
              },
              {
                "fixed": "18.9.6"
              },
              {
                "introduced": "18.10.0"
              },
              {
                "fixed": "18.10.4"
              },
              {
                "introduced": "18.11.0"
              },
              {
                "last_affected": "18.11.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "4961ad113f3afe23965ac12285eaab31315ab0c6"
            },
            {
              "fixed": "48d537ce479485ffb6aef70f62ead88ac15e78b8"
            },
            {
              "introduced": "57c08314af5bc8f317b1967330f92ed029e2c628"
            },
            {
              "fixed": "2c4a87e00b3f5ab1eab353136020dfcab34ae6ca"
            },
            {
              "introduced": "1060c7b0ff78be7c8abe8fd6d23dcb1ca493fd78"
            },
            {
              "last_affected": "1060c7b0ff78be7c8abe8fd6d23dcb1ca493fd78"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ],
      "versions": [
        "18.11.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5262.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "16.1.0"
          },
          {
            "fixed": "18.9.6"
          },
          {
            "introduced": "18.10"
          },
          {
            "fixed": "18.10.4"
          },
          {
            "introduced": "18.11"
          },
          {
            "fixed": "18.11.1"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "16.1.0"
          },
          {
            "fixed": "18.9.6"
          },
          {
            "introduced": "18.10"
          },
          {
            "fixed": "18.10.4"
          },
          {
            "introduced": "18.11"
          },
          {
            "fixed": "18.11.1"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "GitLab has remediated an issue in GitLab CE/EE affecting all versions from 16.1.0 before 18.9.6, 18.10 before 18.10.4, and 18.11 before 18.11.1 that under certain conditions could have allowed an unauthenticated user to access tokens in the Storybook development environment due to improper input validation.",
  "id": "CVE-2026-5262",
  "modified": "2026-08-23T03:42:23.278138055Z",
  "published": "2026-04-22T16:04:36.550Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://about.gitlab.com/releases/2026/04/22/patch-release-gitlab-18-11-1-released/"
    },
    {
      "type": "WEB",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/work_items/595332"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5262.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5262"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/3574642"
    },
    {
      "type": "PACKAGE",
      "url": "git://git@gitlab.com:gitlab-org/gitlab.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab"
}