{"id":"CVE-2025-8405","state":"PUBLISHED","title":"Improper Encoding or Escaping of Output in GitLab","description":"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.","publishedAt":"2025-12-11T04:05:07.234Z","updatedAt":"2026-02-26T16:21:04.264Z","severity":{"score":7.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"17.1","status":"affected","lessThan":"18.4.6","versionType":"semver"},{"version":"18.5","status":"affected","lessThan":"18.5.4","versionType":"semver"},{"version":"18.6","status":"affected","lessThan":"18.6.2","versionType":"semver"}],"cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"references":["https://gitlab.com/gitlab-org/gitlab/-/issues/558214","https://hackerone.com/reports/3270940","https://about.gitlab.com/releases/2025/12/10/patch-release-gitlab-18-6-2-released/"],"weaknesses":["CWE-116"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/8xxx/CVE-2025-8405.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-8405","state":"PUBLISHED","datePublished":"2025-12-11T04:05:07.234Z","dateUpdated":"2026-02-26T16:21:04.264Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2025-07-31T04:33:09.501Z"},"containers":{"cna":{"title":"Improper Encoding or Escaping of Output in GitLab","descriptions":[{"lang":"en","value":"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":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"17.1","status":"affected","lessThan":"18.4.6","versionType":"semver"},{"version":"18.5","status":"affected","lessThan":"18.5.4","versionType":"semver"},{"version":"18.6","status":"affected","lessThan":"18.6.2","versionType":"semver"}],"cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/558214","name":"GitLab Issue #558214","tags":["issue-tracking","permissions-required"]},{"url":"https://hackerone.com/reports/3270940","name":"HackerOne Bug Bounty Report #3270940","tags":["technical-description","exploit","permissions-required"]},{"url":"https://about.gitlab.com/releases/2025/12/10/patch-release-gitlab-18-6-2-released/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2025-12-16T10:53:21.895Z"},"credits":[{"lang":"en","type":"finder","value":"Thanks [yvvdwf](https://hackerone.com/yvvdwf) for reporting this vulnerability through our HackerOne bug bounty program"}],"solutions":[{"lang":"en","value":"Upgrade to versions 18.4.6, 18.5.4, 18.6.2 or above."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-8405","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-12-12T04:55:46.627334Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-26T16:21:04.264Z"}}]}}}