Public vulnerability disclosure

CVE-2025-8405

Improper Encoding or Escaping of Output in GitLab

publishedCWE-116

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.

Technical severity7.7 highCVSS 3.1 · CNA: GitLab
Published2025-12-11Source updated 2026-11-04
Collected2026-11-042 attributed sources

Fixes and workarounds

Fix

Upgrade to versions 18.4.6, 18.5.4, 18.6.2 or above.

Source: CNA: GitLab

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
GitLab
GitLab
≥ 17.1; < 18.4.6 (affected, semver)
≥ 18.5; < 18.5.4 (affected, semver)
≥ 18.6; < 18.6.2 (affected, semver)
Other versions: unaffected
CNA: GitLab

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.7
high
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:NCNA: GitLab

Exploit evidence

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide