Skip to content
NewA calmer, faster ZeroHour

CVE-2026-92883

Stored XSS in GitLab CE/EE via syntax highlighting

CVSS 3.1
8.7 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-92883 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

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.

ProductAffected
GitLab CE/EE19.1 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2
Estimated exposure
largetens of thousands of self-managed GitLab instances possibly in the affected version lines — Order-of-magnitude estimate from GitLab’s wide use for source control and historical public internet scans showing tens of thousands of reachable self-managed GitLab servers; only the stated 19.1–19.4 ranges are affected, and GitLab.com is…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

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

In the news

4 stories