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

Published Jan 9, 2026
·
Updated

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.6 before 18.6.3, and 18.7 before 18.7.1 that could have allowed an unauthenticated user to execute arbitrary code in the context of an authenticated user's browser by convincing the legitimate user to visit a specially crafted webpage.

Other sources

GitLab has remediated an issue that could have allowed an unauthenticated user to execute arbitrary code in the context of an authenticated user’s browser by convincing the legitimate user to visit a specially crafted webpage.

GitLab

Affected Software

5 affected componentsFixes available
GitLab GitLab>=18.6<18.6.3, >=18.7<18.7.1
18.6.318.7.1
GitLab GitLab>=18.6.0<18.6.3
GitLab GitLab>=18.6.0<18.6.3
GitLab GitLab=18.7.0
GitLab GitLab=18.7.0

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 18.6.3Fixed in 18.7.1
  2. Upgrade

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

    Fixed in 18.6.3
  3. Upgrade

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

    Fixed in 18.7.1

Event History

Jan 9, 2026
CVE Published
via MITRE·10:04 AM
Data Sourced
via MITRE·10:04 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·10:25 AM
DescriptionSeverityAffected Software
Apr 22, 2026
Data Sourced
via GitLab·02:07 AM
DescriptionSeverityAffected Software
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-13761?

CVE-2025-13761 is classified as a critical vulnerability due to its potential to allow arbitrary code execution.

2

How do I fix CVE-2025-13761?

To remediate CVE-2025-13761, upgrade to GitLab version 18.6.3 or 18.7.1 or later.

3

Who is affected by CVE-2025-13761?

CVE-2025-13761 affects users of GitLab versions between 18.6 and 18.6.3 and also 18.7 and 18.7.1.

4

Can an unauthenticated user exploit CVE-2025-13761?

Yes, CVE-2025-13761 allows an unauthenticated user to execute arbitrary code in the context of an authenticated user's session.

5

What should I do if I can't upgrade GitLab for CVE-2025-13761?

If you cannot upgrade GitLab to address CVE-2025-13761, you should implement additional network security measures to limit exposure.

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