CVE-2026-5816
Received Received - Intake

Cross-Site Scripting in GitLab CE/EE Allows Arbitrary JS Execution

Vulnerability report for CVE-2026-5816, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-22

Last updated on: 2026-04-23

Assigner: GitLab Inc.

Description

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.10 before 18.10.4 and 18.11 before 18.11.1 that could have allowed an unauthenticated user to execute arbitrary JavaScript in a user's browser session due to improper path validation under certain conditions.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-22
Last Modified
2026-04-23
Generated
2026-07-06
AI Q&A
2026-04-23
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
gitlab gitlab From 18.10.0 (inc) to 18.10.4 (exc)
gitlab gitlab From 18.10.0 (inc) to 18.10.4 (exc)
gitlab gitlab 18.11.0
gitlab gitlab 18.11.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-41 The product is vulnerable to file system contents disclosure through path equivalence. Path equivalence involves the use of special characters in file and directory names. The associated manipulations are intended to generate multiple names for the same object.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Mitigation Strategies

To mitigate this vulnerability, you should upgrade GitLab CE/EE to versions 18.10.4 or later if you are using the 18.10 series, or to version 18.11.1 or later if you are using the 18.11 series.

Executive Summary

This vulnerability in GitLab CE/EE versions before 18.10.4 and 18.11.1 allows an unauthenticated user to execute arbitrary JavaScript in a user's browser session. This happens due to improper path validation under certain conditions.

Impact Analysis

The vulnerability can lead to arbitrary JavaScript execution in a user's browser session, which may result in compromised user data, session hijacking, or other malicious actions performed on behalf of the user.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-5816. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart