MEDIUM
CVE-2026-0752
CVSS
6.1
Description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 16.2 before 18.7.5, 18.8 before 18.8.5, and 18.9 before 18.9.1 that under certain circumstances, could have allowed an unauthenticated user to inject arbitrary scripts into the Mermaid sandbox UI.
Summary dbcve.org
This is a cross-site scripting (XSS) vulnerability in GitLab's Mermaid diagram sandbox UI that allows unauthenticated users to inject arbitrary JavaScript scripts. The vulnerability affects GitLab CE/EE versions 16.2 through 18.7.4, 18.8.x through 18.8.4, and 18.9.x through 18.9.0.
Mitigation
GitLab has released patched versions (18.7.5, 18.8.5, 18.9.1 and later). Organizations should upgrade their GitLab instances to one of these versions to remediate the vulnerability.
Weakness (CWE)
CWE-79
Cross-site Scripting (XSS)
EPSS Score
0.31%
Probability of exploitation in next 30 days
23.9th percentile
References
Base CVE data derived from NVD (public domain). Enrichment by
dbcve.org
(CC-BY-4.0). Fetched via API.