CVE-2023-5512
published medium CVSS 3.1 · 4.8Improper Control of Generation of Code ('Code Injection') in GitLab
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitLab | — | GitLab16.3 to < 16.4.4 · 16.5 to < 16.5.4 · 16.6 to < 16.6.2 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- GitLab · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitLab | GitLab | 16.3 to < 16.4.4 (affected · semver)16.5 to < 16.5.4 (affected · semver)16.6 to < 16.6.2 (affected · semver)Default: unaffected | GitLab · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
2- GitLab Issue #427827 https://gitlab.com/gitlab-org/gitlab/-/issues/427827
- HackerOne Bug Bounty Report #2194607 https://hackerone.com/reports/2194607
Provider assertions
2GitLab · cna
Improper Control of Generation of Code ('Code Injection') in GitLab
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9299e5df598f4c3c0ef326f68c3b72284003fcc3f99439f9e620ad37268e8926
- Ingested
- 23 Sep 2026, 08:15:31 UTC
- Source record
- Official CVE record