{"id":"BIT-gitlab-2024-8312","summary":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab","details":"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.","aliases":["CVE-2024-8312"],"modified":"2025-05-20T10:02:07.006Z","published":"2024-10-26T07:10:33.009Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"]},"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/481819"},{"type":"WEB","url":"https://hackerone.com/reports/2659386"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8312"}],"affected":[{"package":{"name":"gitlab","ecosystem":"Bitnami","purl":"pkg:bitnami/gitlab"},"ranges":[{"type":"SEMVER","events":[{"introduced":"15.10.0"},{"fixed":"17.3.6"},{"introduced":"17.4.0"},{"fixed":"17.4.3"},{"introduced":"17.5.0"},{"fixed":"17.5.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/gitlab/BIT-gitlab-2024-8312.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}],"schema_version":"1.7.3"}