CVE-2025-4278: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in GitLab

Published Jun 11, 2025
·
Updated

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.

Other sources

GitLab has remediated an issue that, under certain conditions, could have allowed a successful attacker to achieve account takeover by injecting code into the search page. Impacted versions GitLab CE/EE: all versions starting with 18.0 before 18.0.2. CVSS: 8.7 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N)

GitLab

Affected Software

4 affected componentsFixes available
GitLab GitLab CE/EE>18.0, <18.0.2
GitLab GitLab>=18.0.0<18.0.2
GitLab GitLab>=18.0.0<18.0.2
GitLab GitLab>=18.0<18.0.2
18.0.2

Remediation

Information

Upgrade to versions 18.0.2 or above.

Event History

Jun 12, 2025
CVE Published
via MITRE·10:02 AM
Data Sourced
via MITRE·10:02 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeaknessAffected Software
News Published
via BleepingComputer·12:26 PM
News Published
via BleepingComputer·12:27 PM
Apr 22, 2026
Data Sourced
via GitLab·08:55 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-4278?

CVE-2025-4278 has been classified as a high-severity vulnerability due to its potential for account takeover.

2

What versions of GitLab are affected by CVE-2025-4278?

CVE-2025-4278 affects all versions of GitLab CE/EE starting from 18.0 up to, but not including, 18.0.2.

3

How do I fix CVE-2025-4278?

To fix CVE-2025-4278, upgrade GitLab CE/EE to version 18.0.2 or later.

4

What types of attacks can CVE-2025-4278 enable?

CVE-2025-4278 can enable html injection attacks that could lead to unauthorized account access.

5

Is there a workaround for CVE-2025-4278?

There are no officially recommended workarounds for CVE-2025-4278; upgrading to the fixed version is advised.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203