Severity by source
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
Lifecycle Timeline
2DescriptionCVE.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.
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.
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
An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10
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
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
The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t
A hardcoded password was set for accounts registered using an OmniAuth provider (e.g. Rated critical severity (CVSS 9.8)
An issue has been discovered in GitLab CE/EE affecting all versions starting from 12.10 before 14.6.5, all versions star
When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af
An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7.9 before 13.8.7, all versions sta
An issue was discovered in GitLab Omnibus 7.4 through 12.2.1. Rated critical severity (CVSS 9.8), this vulnerability is
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
Same weakness CWE-94 – Code Injection
View allSame technique Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-209832
GHSA-jfvv-q6f6-m4g5