{"id":"CVE-2024-8180","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 17.3 before 17.3.7, 17.4 before 17.4.4, and 17.5 before 17.5.2. Improper output encoding could lead to XSS if CSP is not enabled.","aliases":["BIT-gitlab-2024-8180"],"modified":"2026-04-10T05:19:47.908444Z","published":"2024-11-14T11:02:16.331Z","database_specific":{"cwe_ids":["CWE-79"],"cna_assigner":"GitLab","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8180.json"},"references":[{"type":"WEB","url":"https://about.gitlab.com/releases/2024/11/13/patch-release-gitlab-17-5-2-released/#html-injection-in-vulnerability-code-flow-could-lead-to-xss-on-self-hosted-instances"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8180.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8180"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/480720"},{"type":"REPORT","url":"https://hackerone.com/reports/2654010"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"5aad128b1defa01641e69fdcd5a2ec16bd1d4c2c"},{"fixed":"d8f6f1674158117b616f0e80f619625a9e9c79f8"}],"database_specific":{"versions":[{"introduced":"17.3"},{"fixed":"17.3.7"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"22193b3da887c1fa5e49021fa8f87b74e6539a7a"},{"fixed":"c13d003f863842e516b15fd68a2ea24ce5fe15fb"}],"database_specific":{"versions":[{"introduced":"17.4"},{"fixed":"17.4.4"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"173959793c1163052d16c2158773ea9504aa712e"},{"fixed":"9811944b4765ce728036941e549faf72e58e2acd"}],"database_specific":{"versions":[{"introduced":"17.5"},{"fixed":"17.5.2"}]}}],"versions":["v17.3.0-ee","v17.3.3-ee","v17.3.4-rc50-ee","v17.4.0-ee","v17.4.1-rc10-ee","v17.5.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8180.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}