CVE-2025-6948: Cross-site scripting issue impacts GitLab CE/EE

Published Jul 9, 2025
·
Updated

An issue has been discovered in GitLab CE/EE affecting all versions from 17.11 before 17.11.6, 18.0 before 18.0.4, and 18.1 before 18.1.2 that, under certain conditions, could have allowed a successful attacker to execute actions on behalf of users by injecting malicious content.

Other sources

GitLab has remediated an issue that, under certain conditions, could have allowed a successful attacker to execute actions on behalf of users by injecting malicious content.

GitLab

Affected Software

8 affected componentsFixes available
GitLab GitLab CE/EE>17.11, <17.11.6, >18.0, <18.0.4, >18.1, <18.1.2
GitLab GitLab>=17.11.0<17.11.6
GitLab GitLab>=17.11.0<17.11.6
GitLab GitLab>=18.0.0<18.0.4
GitLab GitLab>=18.0.0<18.0.4
GitLab GitLab>=18.1.0<18.1.2
GitLab GitLab>=18.1.0<18.1.2
GitLab GitLab>=17.11<17.11.6, >=18.0<18.0.4, >=18.1<18.1.2
17.11.618.0.418.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 17.11.6Fixed in 18.0.4Fixed in 18.1.2
  2. Upgrade

    Upgrade GitLab CE/EE to a version that resolves this vulnerability.

    Fixed in 17.11.6
  3. Upgrade

    Upgrade GitLab CE/EE to a version that resolves this vulnerability.

    Fixed in 18.0.4
  4. Upgrade

    Upgrade GitLab CE/EE to a version that resolves this vulnerability.

    Fixed in 18.1.2

Event History

Jul 10, 2025
CVE Published
via MITRE·08:30 AM
Data Sourced
via MITRE·08:30 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
DescriptionSeverityWeaknessAffected Software
Apr 22, 2026
Data Sourced
via GitLab·08:55 AM
DescriptionSeverityAffected Software
Nov 7, 57553
Event
via FIRST·03:50 AM

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-6948?

CVE-2025-6948 has been classified as a high severity vulnerability due to the potential for an attacker to execute actions on behalf of users.

2

How do I fix CVE-2025-6948?

To mitigate CVE-2025-6948, update GitLab CE/EE to version 17.11.6, 18.0.4, or 18.1.2 or later.

3

What versions are affected by CVE-2025-6948?

CVE-2025-6948 affects GitLab CE/EE versions before 17.11.6, 18.0.4, and 18.1.2.

4

What action can attackers perform due to CVE-2025-6948?

Attackers can inject malicious content that allows them to execute actions on behalf of users affected by CVE-2025-6948.

5

Is CVE-2025-6948 specific to any configuration?

CVE-2025-6948 can be exploited under certain conditions, making its impact dependent on the specific usage scenario.

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