What’s Vulnerable › Vulnerabilities

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

Description

A cross-site scripting issue has been discovered in GitLab affecting all versions starting from 5.1 prior 17.0.6, starting from 17.1 prior to 17.1.4, and starting from 17.2 prior to 17.2.2. When viewing an XML file in a repository in raw mode, it can be made to render as HTML if viewed under specific circumstances.

Affected products

How to fix

Upgrade to a fixed version: GitLab 17.0.6, 17.1.4, 17.2.2. Check the vendor advisory for mitigations.

References

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