Cross-site scripting in GitLab Enterprise Edition and Gitlab Community Edition - CVE-2026-92883
Published: October 13, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary JavaScript in other users' browser sessions.
The vulnerability exists due to cross-site scripting caused by improper sanitization of HTML attributes in syntax-highlighting output when rendering repository content. A remote user can supply a specially crafted repository to execute arbitrary JavaScript in other users' browser sessions.
User interaction is required.
Affected software
Gitlab Community Edition
How to mitigate CVE-2026-92883
Gitlab Community Edition - addressed in versions 19.2.8, 19.3.4, 19.4.2