{"id":"CVE-2025-12697","state":"PUBLISHED","title":"Improper Encoding or Escaping of Output in GitLab","description":"GitLab has remediated an issue in GitLab CE/EE affecting all versions from 15.5 before 18.7.6, 18.8 before 18.8.6, and 18.9 before 18.9.2 that could have allowed an authenticated user with maintainer-role permissions to reveal Datadog API credentials under certain conditions.","publishedAt":"2026-03-11T16:06:00.688Z","updatedAt":"2026-03-11T17:23:04.370Z","severity":{"score":2.2,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"15.5","status":"affected","lessThan":"18.7.6","versionType":"semver"},{"version":"18.8","status":"affected","lessThan":"18.8.6","versionType":"semver"},{"version":"18.9","status":"affected","lessThan":"18.9.2","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":["https://hackerone.com/reports/3341953","https://gitlab.com/gitlab-org/gitlab/-/work_items/579504","https://about.gitlab.com/releases/2026/03/11/patch-release-gitlab-18-9-2-released/"],"weaknesses":["CWE-116"],"ingestedAt":"2026-10-29T20:08:31.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/12xxx/CVE-2025-12697.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-12697","state":"PUBLISHED","datePublished":"2026-03-11T16:06:00.688Z","dateUpdated":"2026-03-11T17:23:04.370Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2025-11-04T14:35:56.191Z"},"containers":{"cna":{"title":"Improper Encoding or Escaping of Output in GitLab","descriptions":[{"lang":"en","value":"GitLab has remediated an issue in GitLab CE/EE affecting all versions from 15.5 before 18.7.6, 18.8 before 18.8.6, and 18.9 before 18.9.2 that could have allowed an authenticated user with maintainer-role permissions to reveal Datadog API credentials under certain conditions."}],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"15.5","status":"affected","lessThan":"18.7.6","versionType":"semver"},{"version":"18.8","status":"affected","lessThan":"18.8.6","versionType":"semver"},{"version":"18.9","status":"affected","lessThan":"18.9.2","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://hackerone.com/reports/3341953","name":"HackerOne Bug Bounty Report #3341953","tags":["technical-description","exploit","permissions-required"]},{"url":"https://gitlab.com/gitlab-org/gitlab/-/work_items/579504"},{"url":"https://about.gitlab.com/releases/2026/03/11/patch-release-gitlab-18-9-2-released/"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":2.2,"baseSeverity":"LOW"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-116","lang":"en","description":"CWE-116: Improper Encoding or Escaping of Output","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2026-03-11T16:06:00.688Z"},"solutions":[{"lang":"en","value":"Upgrade to versions 18.7.6, 18.8.6, 18.9.2 or above."}],"credits":[{"lang":"en","value":"Thanks [shells3c](https://hackerone.com/shells3c) for reporting this vulnerability through our HackerOne bug bounty program","type":"finder"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-11T17:21:48.892140Z","id":"CVE-2025-12697","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-11T17:23:04.370Z"}}]}}}