Skip to main content

GitLab CE/EE CVE-2025-12669

| EUVDEUVD-2025-209832 MEDIUM
Code Injection (CWE-94)
2026-05-14 cve@gitlab.com GHSA-jfvv-q6f6-m4g5
5.4
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Analysis Generated
Jun 08, 2026 - 11:24 vuln.today
Patch available
May 14, 2026 - 07:01 EUVD

DescriptionCVE.org

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.

AnalysisAI

HTML and JavaScript injection via email notifications in GitLab CE/EE (versions 15.11 through 18.11.2) allows an authenticated low-privileged user to deliver malicious content to other users' inboxes by embedding unsanitized markup into platform-generated notifications. The attack crosses a scope boundary (S:C in CVSS) because the injected code executes in the recipient's email client or browser context rather than GitLab itself, enabling phishing, credential harvesting, or session theft against targeted users. No public exploit has been identified at time of analysis and SSVC signals no active exploitation, though the broad version range - spanning over three years of releases - expands the exposed population significantly.

Technical ContextAI

The vulnerability stems from CWE-94 (Improper Control of Generation of Code), specifically a failure to sanitize user-supplied input before it is embedded into outbound email content generated by GitLab's notification system. GitLab CE and EE both generate automated email notifications for events such as issue comments, merge request updates, and mentions; user-controlled text fields that feed into these notifications are not properly stripped of HTML/JavaScript. The CVSS Scope:Changed attribute confirms that the injected payload escapes the GitLab application boundary and executes in the context of the recipient's mail client or webmail interface. Affected CPEs cover both community (cpe:2.3:a:gitlab:gitlab:*:*:*:*:community) and enterprise (cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise) editions. CWE-94 is broader than a pure XSS classification (CWE-79), suggesting the root cause may involve template rendering or dynamic content generation rather than a simple output-encoding gap.

RemediationAI

Upgrade to one of the following patched releases per the GitLab advisory at https://about.gitlab.com/releases/2026/05/13/patch-release-gitlab-18-11-3-released/: GitLab 18.11.3 or later, GitLab 18.10.6 or later, or GitLab 18.9.7 or later for the 18.9.x series. Organizations on older release trains (pre-18.9) should upgrade to the nearest fixed branch as GitLab does not back-port security fixes to end-of-life versions. If immediate patching is not feasible, a partial compensating control is to audit and restrict who can comment on issues, merge requests, or other notification-generating objects - limiting commit/comment access to trusted internal users reduces the attacker pool, though it does not eliminate the underlying flaw. Organizations using external email relay services should note that content-scanning or HTML-stripping at the mail gateway level may blunt payload delivery but is not a reliable substitute for patching, as encoding bypass techniques are well-documented.

More in Gitlab

View all
CVE-2023-7028 CRITICAL POC
10.0 Jan 12

An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9, 16.

CVE-2013-4490 MEDIUM POC
6.5 May 13

The SSH key upload feature (lib/gitlab_keys.rb) in gitlab-shell before 1.7.3, as used in GitLab 5.0 before 5.4.1 and 6.x

CVE-2021-22205 CRITICAL POC
10.0 Apr 23

An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10

CVE-2022-2992 CRITICAL POC
9.9 Oct 17

A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2024-45409 CRITICAL POC
9.8 Sep 10

The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t

CVE-2022-1162 CRITICAL POC
9.8 Apr 04

A hardcoded password was set for accounts registered using an OmniAuth provider (e.g. Rated critical severity (CVSS 9.8)

CVE-2022-0735 CRITICAL POC
9.8 Mar 28

An issue has been discovered in GitLab CE/EE affecting all versions starting from 12.10 before 14.6.5, all versions star

CVE-2021-22175 CRITICAL POC
9.8 Jun 11

When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af

CVE-2021-22203 CRITICAL POC
9.8 Apr 02

An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7.9 before 13.8.7, all versions sta

CVE-2019-15741 CRITICAL POC
9.8 Sep 16

An issue was discovered in GitLab Omnibus 7.4 through 12.2.1. Rated critical severity (CVSS 9.8), this vulnerability is

CVE-2019-6960 CRITICAL POC
9.8 Sep 09

An issue was discovered in GitLab Community and Enterprise Edition 9.x, 10.x, and 11.x before 11.5.8, 11.6.x before 11.6

Share

CVE-2025-12669 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy