{"id":"CVE-2024-8312","sourceIdentifier":"cve@gitlab.com","published":"2024-10-24T10:15:03.630","lastModified":"2026-06-17T08:22:20.370","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Se ha descubierto un problema en GitLab CE/EE que afecta a todas las versiones desde la 15.10 hasta la 17.3.6, la 17.4 hasta la 17.4.3 y la 17.5 hasta la 17.5.1. Un atacante podría inyectar HTML en el campo de búsqueda global en una vista de diferencias, lo que provocaría un XSS."}],"affected":[{"source":"cve@gitlab.com","affectedData":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","versions":[{"version":"15.10","lessThan":"17.3.6","versionType":"semver","status":"affected"},{"version":"17.4","lessThan":"17.4.3","versionType":"semver","status":"affected"},{"version":"17.5","lessThan":"17.5.1","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"cve@gitlab.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","baseScore":8.7,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.3,"impactScore":5.8},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.3,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-10-24T12:57:06.277953Z","id":"CVE-2024-8312","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"cve@gitlab.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","versionStartIncluding":"15.10.0","versionEndExcluding":"17.3.6","matchCriteriaId":"AF0E11FA-689E-468B-B427-8B68AEF145B2"},{"vulnerable":true,"criteria":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","versionStartIncluding":"15.10.0","versionEndExcluding":"17.3.6","matchCriteriaId":"0826BB0F-5424-4A9A-81A2-5894EFC218DE"},{"vulnerable":true,"criteria":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","versionStartIncluding":"17.4.0","versionEndExcluding":"17.4.3","matchCriteriaId":"7D8C07CE-4771-4620-96B3-17EA81B6AAF4"},{"vulnerable":true,"criteria":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","versionStartIncluding":"17.4.0","versionEndExcluding":"17.4.3","matchCriteriaId":"F4373294-4C6B-4299-88D3-D3568A285A56"},{"vulnerable":true,"criteria":"cpe:2.3:a:gitlab:gitlab:17.5.0:*:*:*:community:*:*:*","matchCriteriaId":"97618D0B-B13A-4111-A78E-3BCB4F023382"},{"vulnerable":true,"criteria":"cpe:2.3:a:gitlab:gitlab:17.5.0:*:*:*:enterprise:*:*:*","matchCriteriaId":"603F1273-E30C-4EBB-AFEA-6713D273C4F3"}]}]}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/481819","source":"cve@gitlab.com","tags":["Exploit","Issue Tracking"]},{"url":"https://hackerone.com/reports/2659386","source":"cve@gitlab.com","tags":["Permissions Required"]}]}