Skip to main content

Gitlab CVE-2026-2973

| EUVDEUVD-2026-15809 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-25 GitLab
5.4
CVSS 3.1 · NVD
Share

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

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

5
Patch available
Apr 16, 2026 - 05:29 EUVD
18.10.1,18.9.3,18.8.7
PoC Detected
Mar 26, 2026 - 17:43 vuln.today
Public exploit code
EUVD ID Assigned
Mar 25, 2026 - 16:47 euvd
EUVD-2026-15809
Analysis Generated
Mar 25, 2026 - 16:47 vuln.today
CVE Published
Mar 25, 2026 - 16:34 nvd
MEDIUM 5.4

DescriptionCVE.org

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 17.7 before 18.8.7, 18.9 before 18.9.3, and 18.10 before 18.10.1 that could have allowed an authenticated user to execute arbitrary JavaScript in a user's browser due to improper sanitization of entity-encoded content in Mermaid diagrams.

AnalysisAI

This vulnerability is a stored cross-site scripting (XSS) flaw in GitLab's Mermaid diagram rendering that allows authenticated users to inject arbitrary JavaScript code into other users' browsers through improperly sanitized entity-encoded content. The vulnerability affects GitLab CE/EE versions 17.7 before 18.8.7, 18.9 before 18.9.3, and 18.10 before 18.10.1, with a CVSS score of 5.4 (medium severity). A public proof-of-concept exploit is available on HackerOne, indicating active awareness in the security community.

Technical ContextAI

The vulnerability exists in GitLab's Mermaid diagram parser, a popular JavaScript-based diagramming library used for rendering flowcharts, sequence diagrams, and other visual elements. The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation, aka Cross-site Scripting), which occurs when user-supplied input containing entity-encoded payloads is not properly sanitized before being rendered in the browser. Mermaid diagrams are processed server-side and embedded in web pages; the vulnerability arises from insufficient HTML entity decoding and escaping, allowing attackers to bypass sanitization filters by encoding malicious JavaScript within diagram syntax. The affected product is identified via CPE as cpe:2.3:a:gitlab:gitlab, with the flaw present across multiple major and minor versions of GitLab's Community and Enterprise editions.

RemediationAI

Immediately upgrade affected GitLab instances to version 18.10.1, 18.9.3, or 18.8.7 or later, depending on your current release track (see https://about.gitlab.com/releases/2026/03/25/patch-release-gitlab-18-10-1-released/). If immediate patching is not feasible, implement strict Content Security Policy (CSP) headers to restrict inline script execution and disable or restrict Mermaid diagram rendering in untrusted projects. Additionally, audit project documentation and merge requests for suspicious Mermaid diagram content, particularly those created or modified by external or newly-added collaborators. Enforce code review policies for documentation changes and consider temporarily disabling Mermaid rendering at the instance level until patches can be applied.

More in Gitlab

View all
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-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-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-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-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-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-2022-1162 CRITICAL POC
9.8 Apr 04

A hardcoded password was set for accounts registered using an OmniAuth provider (e.g. Rated critical severity (CVSS 9.8)

CVE-2022-0735 CRITICAL POC
9.8 Mar 28

An issue has been discovered in GitLab CE/EE affecting all versions starting from 12.10 before 14.6.5, all versions star

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-2021-22203 CRITICAL POC
9.8 Apr 02

An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7.9 before 13.8.7, all versions sta

CVE-2019-15741 CRITICAL POC
9.8 Sep 16

An issue was discovered in GitLab Omnibus 7.4 through 12.2.1. Rated critical severity (CVSS 9.8), this vulnerability is

CVE-2019-6960 CRITICAL POC
9.8 Sep 09

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

Share

CVE-2026-2973 vulnerability details – vuln.today

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