Skip to main content
VulnerabilityPublished Updated

CVE-2024-8312: GitLab · Cross-site Scripting

Affects gitlabSource GCVE Database

0

Not known to be exploited · fixed in 17.5.1 : patch gitlab soon.

Data as of 26 Oct 2026, 17:16 UTC

Severity
High

Rated by Threat Radar · No CVSS score from NVD or the CNA

EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 17.5.1, 17.4.3, 17.3.6

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Oct 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade gitlab to 17.5.1, 17.4.3 or 17.3.6.

Affected software

ProductAffectedFixed in
Bitnamigitlabpkg:bitnami/gitlabOther threatsAffected
  • >=15.10.0 <17.3.6
  • >=17.4.0 <17.4.3
  • >=17.5.0 <17.5.1
Fixed in
  • 17.3.6
  • 17.4.3
  • 17.5.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available. Users should upgrade to GitLab versions 17.3.6, 17.4.3, or 17.5.1 or later to remediate this vulnerability. No additional mitigation steps are indicated beyond applying the official patches.

Description

A cross-site scripting (XSS) vulnerability exists in GitLab CE/EE allowing HTML injection via the Global Search field on a diff view. This affects versions from 15.10 up to but not including 17.3.6, 17.4 up to but not including 17.4.3, and 17.5 up to but not including 17.5.1. The issue has been patched in these subsequent versions.

References

Community reviews

Loading reviews…