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.
{
"cna_assigner": "GitLab",
"cwe_ids": [
"CWE-41"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5816.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "18.10"
},
{
"fixed": "18.10.4"
},
{
"introduced": "18.11"
},
{
"fixed": "18.11.1"
}
],
"source": "AFFECTED_FIELD"
},
{
"extracted_events": [
{
"introduced": "18.10"
},
{
"fixed": "18.10.4"
},
{
"introduced": "18.11"
},
{
"fixed": "18.11.1"
}
],
"source": "DESCRIPTION"
}
]
}{
"cpe": [
"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"cpe:2.3:a:gitlab:gitlab:18.11.0:*:*:*:community:*:*:*",
"cpe:2.3:a:gitlab:gitlab:18.11.0:*:*:*:enterprise:*:*:*"
],
"extracted_events": [
{
"introduced": "18.10.0"
},
{
"fixed": "18.10.4"
},
{
"introduced": "18.11.0"
},
{
"last_affected": "18.11.0"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING"
]
}