CVE-2026-0752

High

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.

SeverityHigh
CVSS8.0
Exploit probability—
ProductGitlab
PublishedFeb 25, 2026
First seenFeb 25, 2026

How to fix

Update
  • gitlab gitlab18.7.5, 18.8.5 or later

Affected products

ProductAffected versionsFixed in
gitlab gitlab16.2.0 ≤ v < 18.7.5, 18.8.0 ≤ v < 18.8.5, 18.9.018.7.5, 18.8.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.