๐Ÿ” CVE Alert

CVE-2023-5512

MEDIUM 4.8

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

CVSS Score
4.8
EPSS Score
0.3%
EPSS Percentile
53th

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.

CWE CWE-94
Vendor gitlab
Product gitlab
Ecosystems
Industries
Technology
Published Dec 15, 2023
Last Updated Apr 28, 2026
Stay Ahead of the Next One

Get instant alerts for gitlab gitlab

Be the first to know when new medium vulnerabilities affecting gitlab gitlab are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Affected Versions

GitLab / GitLab
16.3 < 16.4.4 16.5 < 16.5.4 16.6 < 16.6.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
gitlab.com: https://gitlab.com/gitlab-org/gitlab/-/issues/427827 hackerone.com: https://hackerone.com/reports/2194607

Credits

Thanks [st4nly0n](https://hackerone.com/st4nly0n) for reporting this vulnerability through our HackerOne bug bounty program