XSS in Gitlab

CVE-2025-4278

An issue has been discovered in GitLab CE/EE affecting all versions starting with 18.0 before 18.0.2. Under certain conditions html injection in new search page could lead to account takeover.

EPSS: 0.061 (92.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@gitlab.com (issue-tracking, permissions-required, Broken Link)
  • cve@gitlab.com (Permissions Required, technical-description, permissions-required, exploit)

Frequently asked questions

What is CVE-2025-4278?
CVE-2025-4278 is a high-severity vulnerability in Gitlab, classified under Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS). CVSS score: 8.7/10. Published 2025-06-12.
How severe is CVE-2025-4278?
High severity. CVSS v3 base score is 8.7 out of 10.
Is CVE-2025-4278 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.