CVE-2024-4207: GitLab

Medium severity, CVSS 5.4. EPSS: 0.3% chance of exploitation in the next 30 days.

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

  • GitLab GitLab: from 5.1.0, before 17.0.6 (fixed in 17.0.6); from 17.1.0, before 17.1.4 (fixed in 17.1.4); from 17.2.0, before 17.2.2 (fixed in 17.2.2)

Published 2024-08-08. Last modified 2026-06-17.