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 · Vendor: gitlab
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to GitLab with low-privilege account
  2. Delivery
    Craft HTML/JS payload in notification-triggering content field
  3. Exploit
    Submit content to generate email notification to target user
  4. Install
    GitLab renders unsanitized payload into outbound email
  5. C2
    Target opens email in HTML-capable client
  6. Execute
    Injected JavaScript executes in recipient's browser context
  7. Impact
    Harvest 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

GitLab 18.10 <18.10.6
GitLab 18.11 <18.11.3
GitLab 15.11 <18.9.7

Affected Packages

euvd gitlab fix: 18.9.7, 18.10.6, 18.11.3

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

Vendor (gitlab) PRIMARY 5.4 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

More in Gitlab

View all
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-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-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-2026-85706 CRITICAL POC
10.0 Sep 12

Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the

CVE-2026-97229 CRITICAL POC
10.0 Oct 13

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)

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-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-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-2026-110264 CRITICAL POC
10.0 Oct 22

Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul

CVE-2026-87719 CRITICAL POC
9.9 Sep 12

Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha

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-2026-72867 CRITICAL POC
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

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