Intel

AIKIDO-2026-418185

gitlab-ce is vulnerable to Cross-Site Scripting (XSS)

CVE-2026-92883Published Oct 13, 2026
October 13, 2026

84

CVE Score

High

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

identity_mapping? in Gitlab::StringRangeMarker treats a syntax-highlighted line as a one-to-one copy of the raw line whenever the two strings have the same length. An already-safe highlighted line can contain markup of that same length, so a highlight range is written inside a tag and becomes an HTML attribute. A signed-in user can place that markup in a repository and run script in another user's browser when the highlighted file is viewed. The fix treats a line as a one-to-one mapping only when it also contains no markup characters.

How do I fix this?

Upgrade the gitlab-ce library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and users view syntax-highlighted repository files.

Package

gitlab-ce

Versions

19.1.0 - 19.2.7

Fixed in 19.2.8

19.3.0 - 19.3.3

Fixed in 19.3.4

19.4.0 - 19.4.1

Fixed in 19.4.2

Background info

gitlab-ce is vulnerable to Cross-Site Scripting (XSS) in versions 19.1.0 - 19.2.7, 19.3.0 - 19.3.3 and 19.4.0 - 19.4.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea