CVE-2023-5512: Omission of Double Encoding in File Names Facilitates the Creation of Repositories with Malicious Content.

Published Dec 13, 2023
·
Updated

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 Software

5 affected componentsFixes available
GitLab GitLab>=16.3.0<16.4.4
GitLab GitLab>=16.3.0<16.4.4
GitLab GitLab>=16.5.0<16.5.4
GitLab GitLab>=16.5.0<16.5.4
GitLab GitLab>=16.3<16.4.4, >=16.5<16.5.4, >=16.6<16.6.2
16.4.416.5.416.6.2

Remediation

Information

Upgrade to versions 16.6.2, 16.5.4, 16.4.4 or above.

Event History

Dec 15, 2023
CVE Published
via MITRE·04:03 PM
Data Sourced
via MITRE·04:03 PM
RemedyDescriptionSeverityWeakness
Apr 22, 2026
Data Sourced
via GitLab·08:52 AM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-5512?

CVE-2023-5512 is considered a significant vulnerability that may lead to file integrity compromise in affected versions of GitLab.

2

How do I fix CVE-2023-5512?

To fix CVE-2023-5512, upgrade GitLab to version 16.4.4 or later, or to version 16.5.4 or later, or to version 16.6.2 or later.

3

Which versions of GitLab are affected by CVE-2023-5512?

CVEs affecting this vulnerability include all versions of GitLab from 16.3.0 to 16.4.4, 16.5.0 to 16.5.4, and 16.6.0 to 16.6.2.

4

What can happen if CVE-2023-5512 is exploited?

Exploitation of CVE-2023-5512 may lead to compromised file integrity, potentially allowing unauthorized users to manipulate file systems.

5

Is CVE-2023-5512 related to HTML encoding issues?

Yes, CVE-2023-5512 is specifically related to vulnerabilities arising from improper HTML encoding used in file names.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203