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

Published Jun 11, 2025
·
Updated

An issue has been discovered in GitLab CE/EE affecting all versions from 17.9 before 17.10.8, 17.11 before 17.11.4, and 18.0 before 18.0.2. Improper output encoding in the snipper viewer functionality lead to Cross-Site scripting attacks.

Other sources

GitLab has remediated an issue that, under certain conditions, could have allowed a successful attacker to act in the context of a legitimate user by injecting a malicious script into the snippet viewer.Impacted versions GitLab CE/EE: all versions from 17.9 before 17.10.8, 17.11 before 17.11.4, and 18.0 before 18.0.2CVSS 8.7 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N)

GitLab

Affected Software

8 affected componentsFixes available
GitLab GitLab CE/EE>17.10.8, <17.11.4, <18.0.2
GitLab GitLab>=17.9.0<17.10.8
GitLab GitLab>=17.9.0<17.10.8
GitLab GitLab>=17.11.0<17.11.4
GitLab GitLab>=17.11.0<17.11.4
GitLab GitLab>=18.0.0<18.0.2
GitLab GitLab>=18.0.0<18.0.2
GitLab GitLab>=17.9<17.10.8, >=17.11<17.11.4, >=18.0<18.0.2
17.10.817.11.418.0.2

Remediation

Information

Upgrade to versions 17.10.8, 17.11.4, 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-2254?

CVE-2025-2254 is considered a high severity vulnerability due to its potential for enabling Cross-Site Scripting (XSS) attacks.

2

How do I fix CVE-2025-2254?

To fix CVE-2025-2254, upgrade your GitLab CE/EE instance to version 17.10.8 or later, 17.11.4 or later, or 18.0.2 or later.

3

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

CVE-2025-2254 affects all versions of GitLab CE/EE from versions prior to 17.10.8, 17.11 before 17.11.4, and 18.0 before 18.0.2.

4

What is the impact of CVE-2025-2254?

The impact of CVE-2025-2254 is that it allows attackers to execute arbitrary JavaScript in users' browsers, potentially leading to data theft or account compromise.

5

Who is impacted by CVE-2025-2254?

Any users of GitLab CE/EE who are running affected versions prior to the patched releases are impacted by CVE-2025-2254.

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