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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/ Release Notes, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.7 · gitlabNVD modified 2026-10-14 20:18
Affected (CPE criteria) 2
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
References 3
- https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/ Release Notes, Vendor Advisory
- https://gitlab.com/gitlab-org/gitlab/-/work_items/629523 Issue Tracking
- https://hackerone.com/reports/3936831 Permissions Required