CVE-2026-0752
Cross-Site Scripting in GitLab Mermaid Sandbox UI
Publication date: 2026-02-25
Last updated on: 2026-02-28
Assigner: GitLab Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| gitlab | gitlab | From 18.8.0 (inc) to 18.8.5 (exc) |
| gitlab | gitlab | From 18.8.0 (inc) to 18.8.5 (exc) |
| gitlab | gitlab | 18.9.0 |
| gitlab | gitlab | 18.9.0 |
| gitlab | gitlab | From 16.2.0 (inc) to 18.7.5 (exc) |
| gitlab | gitlab | From 16.2.0 (inc) to 18.7.5 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in GitLab CE/EE versions from 16.2 before 18.7.5, 18.8 before 18.8.5, and 18.9 before 18.9.1 could allow an unauthenticated user to inject arbitrary scripts into the Mermaid sandbox UI under certain circumstances.
How can this vulnerability impact me? :
The vulnerability allows an unauthenticated attacker to inject arbitrary scripts, which can lead to high impact on confidentiality and integrity of the system, potentially compromising sensitive data or altering system behavior.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, you should upgrade GitLab CE/EE to a fixed version. Specifically, update to version 18.7.5 or later if you are on the 18.7 branch, 18.8.5 or later if on the 18.8 branch, or 18.9.1 or later if on the 18.9 branch. These versions contain the remediation for the arbitrary script injection issue in the Mermaid sandbox UI.