Skip to main content

GitLab EE EUVDEUVD-2026-30240

| CVE-2026-7481 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-14 cve@gitlab.com GHSA-4qfp-7g23-rwjx
5.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain Developer role on target project
  2. Delivery
    Inject XSS payload into stored field
  3. Exploit
    Wait for privileged user to view content
  4. Execution
    Payload executes in victim browser
  5. Persist
    Steal session token or call API as victim
  6. Impact
    Escalate privileges or exfiltrate repository data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

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 account with at least Developer-role permissions on a project or group where the vulnerable content can be created (PR:L in the CVSS vector). Successful exploitation also requires user interaction (UI:R) - a victim user, typically of higher privilege, must view the page containing the injected payload, so blind or fully automated mass exploitation is not feasible. The target must be running GitLab Enterprise Edition in the affected ranges (16.4-18.9.6, 18.10.0-18.10.5, or 18.11.0-18.11.2); Community Edition and patched releases are out of scope per the CPE and EUVD data.

Impact

Signals are mixed and point to elevated but not urgent risk. CVSS 8.7 with vector AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N reflects a network-reachable, low-complexity attack that needs an authenticated Developer account and a victim click/view, but escapes its security scope (S:C) - a Developer can effectively act against Maintainers, Owners, or admins who view the payload. Counterweights: EPSS is only 0.02% (4th percentile), CISA SSVC marks Exploitation as 'none' and Automatable 'no' (Technical Impact 'total'), and the vulnerability is not in CISA KEV. The Developer-role prerequisite meaningfully limits opportunistic abuse to insiders or attackers who have already obtained project membership, so this is a real priority for shops with many external Developer contributors (open-source projects, contractor-heavy orgs) but a lower priority for tightly controlled internal GitLab instances. No CVSS/description conflict was observed.

Exploit ScenarioDerived

A malicious contractor with Developer permissions on a shared project crafts a payload (for example in an issue description, comment, or wiki page) that includes the unsanitized field; when a Maintainer or Owner navigates to that resource, the JavaScript runs in their session and can exfiltrate the GitLab session/CSRF tokens, call the API to add the attacker as an Owner, or pivot to push malicious code to protected branches. Because the CVSS scope is Changed, the executed script operates with the victim's higher privileges rather than the attacker's Developer role. No public exploit identified at time of analysis, though the HackerOne report indicates a working proof exists privately with the vendor.

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

Stored cross-site scripting in GitLab Enterprise Edition lets an authenticated user holding Developer-role permissions inject arbitrary JavaScript that executes in the browsers of other users who view the affected content. The flaw stems from improper input sanitization and affects all 16.4-series through 18.11.x releases prior to the 18.9.7, 18.10.6, and 18.11.3 patch releases. No public exploit identified at time of analysis, and EPSS is very low (0.02%), but CVSS is rated 8.7 because the scope-changing XSS can hijack higher-privileged user sessions.

RemediationAI

Upgrade to the vendor-released patched versions 18.11.3, 18.10.6, or 18.9.7 depending on the release train in use, as documented at https://about.gitlab.com/releases/2026/05/13/patch-release-gitlab-18-11-3-released/. Self-managed administrators should follow GitLab's standard zero-downtime upgrade path and verify the patched version via the /help endpoint after deployment; gitlab.com is already patched by GitLab Inc. As a compensating control while patching is scheduled, tighten project membership so that Developer role is granted only to trusted users, audit recent additions of Developer-role members for suspicious accounts, and consider enabling a strict Content Security Policy via gitlab.rb (gitlab_rails['content_security_policy']) to limit inline script execution - note that custom CSPs can break some GitLab integrations and Pages previews and should be tested in staging first. The HackerOne report is tracked at https://hackerone.com/reports/3697379 for additional disclosure context.

Affected VersionsENISA

GitLab 16.4 <18.9.7
GitLab 18.11 <18.11.3
GitLab 18.10 <18.10.6

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 underlying weakness is CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic cross-site scripting condition where user-supplied content is rendered in the GitLab web UI without adequate output encoding or sanitization. Because GitLab EE renders rich content (issues, MRs, comments, wiki, snippets) inside the same origin that hosts session cookies and CSRF tokens, injected script runs with the full privileges of the viewing user. The CPE strings confirm the issue is scoped to the Enterprise edition product (cpe:2.3:a:gitlab:gitlab:*:enterprise) rather than Community Edition, suggesting the vulnerable rendering path lives in an EE-only feature.

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

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

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

Lifecycle Timeline

3
Severity Changed
Nov 11, 2026 - 20:22 NVD
HIGH MEDIUM
CVSS changed
Nov 11, 2026 - 20:22 NVD
8.7 (HIGH) 5.4 (MEDIUM)
Patch available
May 14, 2026 - 07:16 EUVD

DescriptionNVD

GitLab has remediated an issue in GitLab EE affecting all versions from 16.4 before 18.9.7, 18.10 before 18.10.6, and 18.11 before 18.11.3 that could have allowed an authenticated user with developer-role permissions to execute arbitrary JavaScript in other users' browsers due to improper input sanitization.

Executive ViewAI

Why It Matters

GitLab Enterprise Edition versions 16.4 through 18.11.x prior to patched releases contain a stored cross-site scripting vulnerability exploitable by users with Developer-role permissions. Successful exploitation allows injection of persistent malicious code affecting all users accessing compromised content, potentially enabling session hijacking of higher-privileged users and unauthorized access to repositories, credentials, and sensitive project data.

Business Impact: High
Compensating Controls

Vendor-released patch: 18.9.7, 18.10.6, 18.11.3 (depending on version series). If patching cannot be deployed within 7 days, restrict Developer-role permissions to a minimal trusted set and enforce mandatory peer code review for all code submissions until patches are applied.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Social Media
1
Sightings
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

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

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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