Skip to content
OpenAdvisories
Medium · 4.8 CVE-2023-5512 EUVD-2023-57825GHSA-3vp4-9jc4-q799

Improper Control of Generation of Code ('Code Injection') in GitLab

Published Dec 15, 2023 · Updated Apr 28, 2026 · Assigned by GitLab

Description

An issue has been discovered in GitLab CE/EE affecting all versions from 16.3 before 16.4.4, all versions starting from 16.5 before 16.5.4, all versions starting from 16.6 before 16.6.2. File integrity may be compromised when specific HTML encoding is used for file names leading for incorrect representation in the UI.

Affected products

VendorProductAffectedFixed
GitLab GitLab 16.3 – < 16.4.4, 16.5 – < 16.5.4, 16.6 – < 16.6.2 16.4.4

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 —

Advisories 1

References