Skip to content
Fencer Vulns
high 8.7

CVE-2024-8312 json

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

published 2024-10-24 2 y ago modified 2026-09-10 59 d ago also BIT-gitlab-2024-8312 , EUVD-2024-49083

cvss
8.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 42%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami gitlab 17.3.6, 17.4.3, 17.5.1
  • GitLab GitLab 17.3.6, 17.4.3, 17.5.1

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • hackerone.com https://hackerone.com/reports/2659386 referenced PoC, tagged "exploit" by a source, unverified
  • gitlab.com https://gitlab.com/gitlab-org/gitlab/-/issues/481819 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV 3.1 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Affected packages

ecosystem package affected fixed in
bitnami gitlab
>=15.10.0, <17.3.6
>=17.4.0, <17.4.3
>=17.5.0, <17.5.1
17.3.6
17.4.3
17.5.1

Affected products

  • GitLab GitLab

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.