
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-0752 is a Cross-Site Scripting (XSS) vulnerability in GitLab CE/EE affecting the Mermaid sandbox UI that allows unauthenticated attackers to inject arbitrary scripts under certain circumstances. It affects all GitLab CE/EE versions from 16.2 before 18.7.5, 18.8 before 18.8.5, and 18.9 before 18.9.1. The vulnerability was disclosed on February 25, 2026, and patched the same day. GitLab (CNA) assigned a CVSS v3.1 score of 8.0 (High), while NVD assessed it at 6.1 (Medium) (GitLab Advisory, NVD).
The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), rooted in insufficient sanitization of user-supplied input rendered within the Mermaid diagram sandbox UI. An unauthenticated, network-based attacker can craft malicious input that, when processed by the Mermaid sandbox, causes arbitrary JavaScript to execute in the victim's browser. Exploitation requires user interaction (e.g., a victim viewing a page containing the malicious diagram) and occurs under certain unspecified conditions, suggesting the attack surface may be context-dependent. The vulnerability was reported through GitLab's HackerOne bug bounty program by researcher 'aphantom' (GitLab Advisory, NVD).
Successful exploitation could allow an attacker to steal user session tokens, perform actions on behalf of authenticated users, or modify content rendered in the victim's browser within the GitLab context. According to GitLab's own CVSS assessment, the impact includes high confidentiality and integrity compromise within the changed scope of the Mermaid sandbox environment, with no direct availability impact. Potential attack scenarios include session hijacking, credential theft, or unauthorized actions performed on behalf of users who view a maliciously crafted Mermaid diagram (GitLab Advisory, NVD).
No public proof-of-concept exploit code is known to exist, and there is no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.044%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported (Feedly).
/help or API).GitLab has released patched versions addressing this vulnerability: 18.7.5, 18.8.5, and 18.9.1 for both CE and EE editions, published on February 25, 2026. GitLab strongly recommends that all self-managed installations upgrade to one of these versions immediately; GitLab.com and GitLab Dedicated instances were patched automatically. No configuration-based workaround has been published — upgrading is the only recommended remediation (GitLab Advisory).
The vulnerability was noted in social media posts on Mastodon and Bluesky shortly after disclosure, with community members highlighting it as part of a broader GitLab patch release addressing multiple high-severity issues. Coverage was largely informational, with no significant controversy or debate. Tenable published Nessus detection plugins (IDs 300183 and 300404) to help organizations identify vulnerable instances (Tenable Plugin 300183).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."