Skip to content
OpenAdvisories

Description

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.

Affected products

VendorProductAffectedFixed
GitLab GitLab 19.1 – < 19.2.8, 19.3 – < 19.3.5, 19.4 – < 19.4.2 19.2.8

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS gitlab No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling gitlab-runner-19.2 +5 No fix yet —
Wolfi rolling gitlab-runner-19.3 +5 19.3.5-r0 —

Advisories 2

References