Vulnerability · Published Mar 25, 2026 · Assigned by GitLab

CVE-2026-2973Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab

Medium 5.4

In plain English

A medium-severity cross-site scripting in GitLab from GitLab. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities).

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.2%top 92.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected products (as reported)

VendorProductVersions
GitLab GitLab 17.7 – before 18.8.718.9 – before 18.9.318.10 – before 18.10.1

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References