Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2024-8312

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

High8.7EPSS 0.49%
Published
Updated
Reserved
Assigned by
GitLab

Description

An issue has been discovered in GitLab CE/EE affecting all versions from 15.10 before 17.3.6, 17.4 before 17.4.3, and 17.5 before 17.5.1. An attacker could inject HTML into the Global Search field on a diff view leading to XSS.

Scores

CVSS scores of CVE-2024-8312, by who scored it
Scored byCVSSScoreVector
GitLabCNA (assigner)3.1High8.7CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
NVDNVD · Analyzed3.1Medium5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS (exploitation in 30 days)
0.49% · top 58% of all CVEs (6 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.7.

Weakness

Affected products

  • GitLab · GitLab

    • affected 15.10 – < 17.3.6
    • affected 17.4 – < 17.4.3
    • affected 17.5 – < 17.5.1

What to do

Solution: Upgrade to versions 17.3.6, 17.4.3, 17.5.1 or above.

References (2)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2024-8312 badge
[![CVE-2024-8312](https://trackcve.app/badge/CVE-2024-8312.svg)](https://trackcve.app/cve/CVE-2024-8312)

Record last updated .