---
id: CVE-2025-8405
title: >-
  GitLab has remediated a security issue in GitLab CE/EE affecting all versions
  from 17.1 before 18.4.6, 18.5 before 18.5.4, and 18.6 before 18.6.2 that could
  have allowed an authenticated user to perform unauthorized actions on behalf
  of …
summary: >-
  GitLab has remediated a security issue in GitLab CE/EE affecting all versions
  from 17.1 before 18.4.6, 18.5 before 18.5.4, and 18.6 before 18.6.2 that could
  have allowed an authenticated user to perform unauthorized actions on behalf
  of …
severity: high
cvss: 7.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N'
cwe:
  - CWE-116
vendor: gitlab
product: gitlab
affected:
  - 'gitlab >= 17.1.0, < 18.4.6'
  - 'gitlab >= 18.5.0, < 18.5.4'
  - 'gitlab >= 18.6.0, < 18.6.2'
patched:
  - gitlab 18.6.2
published: '2025-12-11'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T21:10:00.183'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-8405'
references:
  - url: >-
      https://about.gitlab.com/releases/2025/12/10/patch-release-gitlab-18-6-2-released/
    label: cve@gitlab.com
  - url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/558214'
    label: cve@gitlab.com
  - url: 'https://hackerone.com/reports/3270940'
    label: cve@gitlab.com
tags:
  - nvd
epss: 0.00515
epssPercentile: 0.42408
ingestedAt: '2026-10-14T21:57:04.797Z'
---

## Overview

GitLab has remediated a security issue in GitLab CE/EE affecting all versions from 17.1 before 18.4.6, 18.5 before 18.5.4, and 18.6 before 18.6.2 that could have allowed an authenticated user to perform unauthorized actions on behalf of other users by injecting malicious HTML into vulnerability code flow displays.

## Affected

- `gitlab >= 17.1.0, < 18.4.6`
- `gitlab >= 18.5.0, < 18.5.4`
- `gitlab >= 18.6.0, < 18.6.2`

## Remediation

Upgrade past the affected range:

- `gitlab 18.6.2`
