{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
              "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "19.2.0"
              },
              {
                "fixed": "19.2.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "68485a1eb627c9a992f266263157327649822db3"
            },
            {
              "fixed": "b6b3c0efcdab8c89a87057f59f18d2928757370d"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/16xxx/CVE-2026-16627.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "19.2"
          },
          {
            "fixed": "19.2.2"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "19.2"
          },
          {
            "fixed": "19.2.2"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.2 before 19.2.2 that under certain conditions could have allowed an authenticated user with developer-role permissions to escalate privileges due to improper sanitization of HTML content rendered in a CI job modal.",
  "id": "CVE-2026-16627",
  "modified": "2026-08-21T11:30:14.299822341Z",
  "published": "2026-08-12T18:05:40.268Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-2-2-released/"
    },
    {
      "type": "WEB",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/work_items/606678"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/16xxx/CVE-2026-16627.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-16627"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/3880796"
    },
    {
      "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:L/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"
}