{"id":"CVE-2025-12669","state":"PUBLISHED","title":"Improper Control of Generation of Code ('Code Injection') in GitLab","description":"GitLab has remediated an issue in GitLab CE/EE affecting all versions from 15.11 before 18.9.7, 18.10 before 18.10.6, and 18.11 before 18.11.3 that could have allowed an authenticated user to inject HTML and JavaScript into email notifications sent to other users due to improper input sanitization.","publishedAt":"2026-05-14T05:38:37.338Z","updatedAt":"2026-05-14T17:47:03.748Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"15.11","status":"affected","lessThan":"18.9.7","versionType":"semver"},{"version":"18.10","status":"affected","lessThan":"18.10.6","versionType":"semver"},{"version":"18.11","status":"affected","lessThan":"18.11.3","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":["https://hackerone.com/reports/3368096","https://gitlab.com/gitlab-org/gitlab/-/work_items/579385","https://about.gitlab.com/releases/2026/05/13/patch-release-gitlab-18-11-3-released/"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:08:31.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/12xxx/CVE-2025-12669.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-12669","state":"PUBLISHED","datePublished":"2026-05-14T05:38:37.338Z","dateUpdated":"2026-05-14T17:47:03.748Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2025-11-03T21:33:31.186Z"},"containers":{"cna":{"title":"Improper Control of Generation of Code ('Code Injection') in GitLab","descriptions":[{"lang":"en","value":"GitLab has remediated an issue in GitLab CE/EE affecting all versions from 15.11 before 18.9.7, 18.10 before 18.10.6, and 18.11 before 18.11.3 that could have allowed an authenticated user to inject HTML and JavaScript into email notifications sent to other users due to improper input sanitization."}],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"15.11","status":"affected","lessThan":"18.9.7","versionType":"semver"},{"version":"18.10","status":"affected","lessThan":"18.10.6","versionType":"semver"},{"version":"18.11","status":"affected","lessThan":"18.11.3","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://hackerone.com/reports/3368096","name":"HackerOne Bug Bounty Report #3368096","tags":["technical-description","exploit","permissions-required"]},{"url":"https://gitlab.com/gitlab-org/gitlab/-/work_items/579385"},{"url":"https://about.gitlab.com/releases/2026/05/13/patch-release-gitlab-18-11-3-released/"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2026-05-14T05:38:37.338Z"},"solutions":[{"lang":"en","value":"Upgrade to versions 18.9.7, 18.10.6, 18.11.3 or above."}],"credits":[{"lang":"en","value":"Thanks [ricardobrito](https://hackerone.com/ricardobrito) for reporting this vulnerability through our HackerOne bug bounty program","type":"finder"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-14T17:46:54.867865Z","id":"CVE-2025-12669","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-05-14T17:47:03.748Z"}}]}}}