What’s Vulnerable › Vulnerabilities

CVE-2024-8312: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab

Description

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.

Affected products

How to fix

Upgrade to a fixed version: GitLab 17.3.6, 17.4.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-8312 or the next vulnerability affects your stack