SecurityContext

CVE-2025-5101: GitLab CE/EE - Stored XSS

  • Cve: CVE-2025-5101
  • Name: GitLab CE/EE - Stored XSS
  • Description: An issue has been discovered in GitLab CE/EE affecting all versions before 18.1.5, 18.2 before 18.2.5, and 18.3 before 18.3.1 that under certain conditions could have allowed an authenticated attacker to distribute malicious code that appears harmless in the web interface by taking advantage of ambiguity between branches and tags during repository imports.
  • Impact: Authenticated attackers can distribute malicious code that appears harmless, potentially leading to client-side script execution.
  • Remediation: Upgrade to versions 18.1.5, 18.2.5, 18.3.1 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: stored_xss
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:N
  • Epss score: 0.00136
  • Epss percentile: 0.03024
  • Assignee: [email protected]
  • Published at: 2025-08-27T20:15:34Z
  • Age in days: 454
  • Modified at: 2026-06-17T09:47:11Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-5101
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

References

UrlSourceTags
https://hackerone.com/reports/3124199nvdPermissions Required

Products

ProductAffectedPlatform boundSourcesUrl
gitlab:gitlab= 18.3.0; >= 18.2.0, < 18.2.5; < 18.1.5nonvd/v1/products/gitlab/gitlab

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 66493
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports