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

- Severity: Medium 4.4 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-08-08T10:31:12.873Z
- Modified: 2026-09-10T16:01:37.485Z
- Also known as: BIT-GITLAB-2024-4207
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- GitLab GitLab: from 5.1 before 17.0.6; from 17.1 before 17.1.4; from 17.2 before 17.2.2; from 5.1.0 before 17.0.6; from 17.1.0 before 17.1.4; from 17.2.0 before 17.2.2
- gitlab (Bitnami): from 5.1.0 before 17.0.6; from 17.1.0 before 17.1.4; from 17.2.0 before 17.2.2

## Every score

- GitLab: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://hackerone.com/reports/2473917> (exploit, permissions-required, technical-description, web)
- <https://gitlab.com/gitlab-org/gitlab/-/issues/458236> (broken-link, issue-tracking, permissions-required, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-4207> (web)

## Sources

- CVE List: [CVE-2024-4207](https://www.cve.org/CVERecord?id=CVE-2024-4207), CVE Terms of Use, modified 2024-08-29
- NVD: [CVE-2024-4207](https://nvd.nist.gov/vuln/detail/CVE-2024-4207), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2024-4207](https://osv.dev/vulnerability/BIT-GITLAB-2024-4207), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2024-4207 · Whole record: https://cve.day/CVE-2024-4207.json · Rebuilt by cve.day 2026-11-25T22:58:44.143Z
