---
title: "CVE-2024-4207\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2024-4207?format=md
keywords: index, follow
---

# CVE-2024-4207

Publication date 8 August 2024

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.4 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2024-4207?format=md#impact-score)

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2024-4207?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| gitlab | 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 16.04 LTS xenial | Ignored |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

GitLab isn't maintainable as a distro package, and was removed
from Ubuntu because of this. We will not be fixing security
issues in the gitlab package in Xenial.

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.4 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | Required |
  | Scope | Changed |
  | Confidentiality impact | Low |
  | Integrity impact | Low |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.4 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-4207)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-4207)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2024-4207)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2024-4207)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2024-4207>
* <https://gitlab.com/gitlab-org/gitlab/-/issues/458236>
* <https://hackerone.com/reports/2473917>
