An issue has been discovered in GitLab CE/EE affecting all versions from 15.10 before 17.3.6, 17.4 before 17.4.3, and 17.5 before 17.5.1. An attacker could inject HTML into the Global Search field on a diff view leading to XSS.
{
"cna_assigner": "GitLab",
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8312.json"
}{
"cpe": [
"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"cpe:2.3:a:gitlab:gitlab:17.5.0:*:*:*:community:*:*:*",
"cpe:2.3:a:gitlab:gitlab:17.5.0:*:*:*:enterprise:*:*:*"
],
"extracted_events": [
{
"introduced": "15.10.0"
},
{
"fixed": "17.3.6"
},
{
"introduced": "17.4.0"
},
{
"fixed": "17.4.3"
},
{
"introduced": "17.5.0"
},
{
"last_affected": "17.5.0"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING"
]
}