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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/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.41%, higher than 27% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-03T10:02:44.912Z
- Modified: 2026-06-17T08:22:04.750Z
- Also known as: BIT-GITLAB-2024-8186
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitLab

## Description

An issue has been discovered in GitLab CE/EE affecting all versions from 16.6 before 17.7.6, 17.8 before 17.8.4, and 17.9 before 17.9.1. An attacker could inject HMTL into the child item search potentially leading to XSS in certain situations.

(As written by CVE List.)

## Affected

- GitLab GitLab: from 16.6 before 17.7.6; from 17.8 before 17.8.4; from 17.9 before 17.9.1; from 16.6.0 before 17.7.6; from 17.8.0 before 17.8.4; 17.9.0
- gitlab (Bitnami): from 16.6.0 before 17.9.1

## Every score

- GitLab: 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`
- 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/2655757> (exploit, permissions-required, technical-description, web)
- <https://gitlab.com/gitlab-org/gitlab/-/issues/480751> (broken-link, issue-tracking, permissions-required, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8186> (web)

## Sources

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

---

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