CVE-2023-5512

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

State
Published
Severity
4.8 Medium
Published
Dec 15, 2023
Updated
Apr 28, 2026
Reserved
Oct 11, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:NGitLab

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
GitLabGitLab
  • 16.3 to before 16.4.4Affected
  • 16.5 to before 16.5.4Affected
  • 16.6 to before 16.6.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.