GitLab Patches CVSS 10.0 Flaw That Could Let Unauthenticated Users Run Server Code
GitLab patched CVE-2026-97229, a CVSS 10.0 bug letting unauthenticated users run code on CE and EE servers.
Stored XSS in GitLab CE/EE via syntax highlighting
GitLab CE and EE have a stored cross-site scripting flaw (CWE-79) caused by improper sanitization of HTML attributes in syntax-highlighted output. An authenticated user can place a specially crafted repository that, when another user views it, runs arbitrary JavaScript in that user’s browser session. The attacker can compromise the victim’s session with high confidentiality and integrity impact; user interaction is required and availability is not affected. All GitLab CE/EE versions from 19.1 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2 are affected (CVSS 8.7 high). No public proof-of-concept is known and the issue is not in CISA KEV.
What to do: Upgrade self-managed GitLab CE/EE to 19.2.8, 19.3.5, or 19.4.2 (or a later release on that line). Until upgraded, limit who can push repositories and treat unexpected syntax-highlighted content as suspicious; gitlab.com is remediated by GitLab.
| Product | Affected |
|---|---|
| GitLab CE/EE | 19.1 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.1 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2 that, under certain conditions, could have allowed an authenticated user to execute arbitrary JavaScript in the context of other users' browser sessions via a specially crafted repository, due to improper sanitization of HTML attributes in syntax-highlighted output.
GitLab patched CVE-2026-97229, a CVSS 10.0 bug letting unauthenticated users run code on CE and EE servers.
GitLab patched CVE-2026-97229, a CVSS 10.0 unauthenticated remote code execution flaw in CI/CD handling.
GitLab patched unauthenticated CI/CD regex RCE CVE-2026-97229 (CVSS 10) and five high-severity flaws.
GitLab patches critical CVE-2026-97229 (CVSS 10.0) allowing unauthenticated RCE via CI/CD regex compiler, plus 23 other security issues in CE/EE versions.
Today 2.5K readers · 5.1K views · 307 reads · all time 290K views