Skip to main content

GitLab CE/EE EUVDEUVD-2026-24961

| CVE-2026-3254 LOW
Improper Restriction of Rendered UI Layers or Frames (CWE-1021)
2026-04-22 GitLab GHSA-rv75-mvrq-37g2
3.5
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to GitLab instance
  2. Delivery
    Create or edit diagram with malicious payload
  3. Exploit
    Socialize victim to view diagram
  4. Execution
    Mermaid sandbox bypassed
  5. Persist
    XSS payload executes in victim browser
  6. Impact
    Session token or action theft occurs

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V3 - Web Frontend Security Clickjacking prevention, X-Frame-Options
Exploitation Conditions

Exploitation requires the attacker to be an authenticated GitLab user (PR:L in CVSS vector). The attacker must have permission to create or edit content containing Mermaid diagrams (e.g., project wikis, issues, merge request descriptions, or boards). The victim must actively view the diagram-containing page in their browser (UI:R - User Interaction Required). The vulnerability is specific to GitLab versions 18.11.0 and is not exploitable on default installations of versions 18.10 or earlier or 18.11.1 and later. No special GitLab configuration options or non-standard deployment modes are required; the vulnerability exists in the standard Mermaid sandbox implementation shipped with affected versions.

Impact

This vulnerability presents LOW real-world risk despite publicly available exploit code. The CVSS vector (AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N) and SSVC framework align in severity: unauthenticated exploitation is blocked by the PR:L (Login Required) requirement, and successful exploitation requires UI:R (user interaction - the victim must view the malicious diagram). The attacker's scope is limited to session/browser context (S:U, Unchanged Scope) with no confidentiality or availability impact, only integrity (I:L). SSVC decision data ('Exploitation: none, Automatable: no, Technical Impact: partial') contradicts the notion of active exploitation despite POC availability, suggesting the exploit requires manual crafting and delivery, not mass weaponization. Organizations with tight control over diagram authorship and security awareness training can further mitigate risk. However, any GitLab instance where untrusted users can create diagrams should patch promptly.

Exploit ScenarioDerived

An authenticated attacker with a valid GitLab account crafts a malicious Mermaid diagram containing injected JavaScript or HTML payloads. When a victim views the diagram (e.g., in a merge request, wiki, or project board), the Mermaid sandbox fails to neutralize the payload, and the JavaScript executes in the victim's browser under the same origin as GitLab, potentially stealing session tokens or performing actions on behalf of the victim. The attacker must socially engineer or have legitimate project visibility to ensure the victim views the diagram.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 – Apr 23, 2026

Cross-site scripting (XSS) in GitLab CE/EE 18.11 before 18.11.1 allows authenticated users to inject unauthorized content into other users' browsers through improper input validation in the Mermaid diagram sandbox. An attacker must have valid GitLab credentials and the victim must view a malicious diagram, limiting real-world impact despite the publicly available exploit code. SSVC analysis rates this as non-automatable with partial technical impact, consistent with the low CVSS 3.5 score.

RemediationAI

Upgrade to GitLab CE/EE version 18.11.1 or later to apply the vendor-released patch. GitLab has remediated the improper input validation in the Mermaid sandbox as documented in the official work item (https://gitlab.com/gitlab-org/gitlab/-/work_items/591587). No workarounds are available for versions prior to 18.11.1 other than restricting diagram creation to trusted administrators or temporarily disabling Mermaid diagram rendering by administrative policy. Organizations unable to upgrade immediately should audit recent diagram activity for suspicious content and consider limiting access to diagram creation features.

Affected VersionsENISA

GitLab 18.11 <18.11.1

Affected Packages

euvd gitlab fix: 18.11.1

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

GitLab integrates the Mermaid diagram rendering library, which generates flowcharts, sequence diagrams, and other visual content from user-provided input. The vulnerability stems from CWE-1021 (Improper Restriction of Rendered UI Layers or Frames), indicating the Mermaid sandbox mechanism failed to properly isolate and validate input before rendering within the browser context. The affected CPE (cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*) indicates GitLab Community Edition and Enterprise Edition are vulnerable. The XSS occurs within the Mermaid diagram parser/renderer, where malicious syntax or escaped content bypasses the intended sandboxing controls and executes in the victim's browser session.

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 3.5 LOW
AV:N/AC:L/PR:L/UI:R/S:U/C:N/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
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

4
PoC Detected
Apr 23, 2026 - 20:43 vuln.today
Public exploit code
Patch released
Apr 23, 2026 - 20:43 nvd
Patch available
Patch available
Apr 22, 2026 - 17:33 EUVD
CVE Published
Apr 22, 2026 - 16:29 nvd
LOW 3.5

DescriptionCVE.org

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.11 before 18.11.1 that under certain conditions could have allowed an authenticated user to load unauthorized content into another user's browser due to improper input validation in the Mermaid sandbox.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Exploit
POC
Public exploit code exists
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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: +20
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