CVE-2024-8648
GitLab vulnerability analysis and mitigation

Overview

An issue has been discovered in GitLab CE/EE affecting all versions from 16 before 17.3.7, 17.4 before 17.4.4, and 17.5 before 17.5.2. The vulnerability could allow an attacker to inject malicious JavaScript code in Analytics Dashboards through a specially crafted URL (GitLab Advisory).

Technical details

The vulnerability is classified as a stored Cross-Site Scripting (XSS) issue with a CVSS v3.1 score of 6.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. The vulnerability is identified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The issue specifically affects the Analytics Dashboards feature where an attacker can manipulate URLs to inject malicious JavaScript code (NVD).

Impact

The vulnerability allows attackers to inject malicious JavaScript code through specially crafted URLs in Analytics Dashboards. While on GitLab.com this is blocked by Content Security Policy (CSP), self-hosted instances, particularly those behind proxies or VPNs without proper CSP configuration, are at risk of code execution (GitLab Issue).

Mitigation and workarounds

The vulnerability has been patched in GitLab versions 17.3.7, 17.4.4, and 17.5.2. GitLab strongly recommends that all affected installations be upgraded to one of these patched versions immediately. GitLab.com is already running the patched version, and GitLab Dedicated customers do not need to take action (GitLab Advisory).

Community reactions

The vulnerability was discovered and reported by security researcher joaxcar through GitLab's HackerOne bug bounty program (GitLab Advisory).

Additional resources


SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-9222HIGH8.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-11224HIGH7.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 14, 2026
CVE-2025-13772HIGH7.1
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13781MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-3950LOW3.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management