Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to GitLab with low-privilege account
-
DeliveryCraft HTML/JS payload in notification-triggering content field
-
ExploitSubmit content to generate email notification to target user
-
InstallGitLab renders unsanitized payload into outbound email
-
C2Target opens email in HTML-capable client
-
ExecuteInjected JavaScript executes in recipient's browser context
-
ImpactHarvest session tokens or redirect to phishing page
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold an authenticated GitLab account with at least enough permission to perform actions that generate email notifications for other users (e.g., commenting on an issue, creating a merge request, or using @mention targeting). This is confirmed by PR:L (low privileges) in the CVSS vector. The victim must open and render the malicious email in an HTML-capable mail client or webmail interface (UI:R in CVSS). Exploitation is limited to the email delivery context - the injected code does not execute server-side and does not provide access to GitLab's backend or the host system. Self-hosted GitLab instances with outbound email disabled would not be affected, as no notification emails would be generated. GitLab SaaS (gitlab.com) was patched by the vendor independently of self-hosted rollouts. |
| Impact | The CVSS base score of 5.4 (Medium) is consistent with the attack profile: network-reachable (AV:N), low complexity (AC:L), but requiring low-privilege authentication (PR:L) and victim interaction (UI:R). The Scope:Changed vector elevates the score above a purely local impact. Critically, the EPSS score of 0.02% (5th percentile) indicates extremely low exploitation probability in the wild, and CISA SSVC confirms Exploitation: none and Automatable: no - meaning mass automated exploitation is not a realistic near-term threat. The 'RCE' tag present in the source intelligence appears to be a mislabeling; the CVE description and CVSS vector support HTML/JavaScript injection (stored XSS via email), not remote code execution on the server. Technical impact is rated 'partial' by SSVC, aligning with the C:L/I:L confidentiality and integrity impacts in CVSS. The primary realistic risk is targeted social engineering or credential harvesting against specific GitLab users, not broad infrastructure compromise. The extremely wide affected version range (15.11 onward) means the exposed population is large, but the low EPSS and no-KEV status temper urgency for most organizations. |
| Exploit ScenarioDerived | An authenticated GitLab user with at minimum Reporter-level access crafts a comment or issue description embedding malicious JavaScript - for example, an tag or an onerror handler - into a field that triggers an email notification to a targeted colleague. GitLab's notification system renders this unsanitized content into the outbound email; when the recipient opens the email in a webmail client that renders HTML, the JavaScript executes in that browser context, potentially stealing session cookies, redirecting to a credential phishing page, or silently exfiltrating sensitive content visible in the email. No public proof-of-concept has been identified at time of analysis, but the technique is well-understood and requires no specialized tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Gitlab gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Primary rating from Vendor (gitlab) · only source for this CVE.
CVSS VectorVendor: gitlab
Lifecycle Timeline
1DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10
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.
When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af
Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the
Remote code execution in GitLab CE/EE (all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2)
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
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 Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t
Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul
Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha
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
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
EUVD-2025-209832
GHSA-jfvv-q6f6-m4g5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB