CVE-2025-9222: 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.2.2 before 18.5.5, 18.6 before 18.6.3, and 18.7 before 18.7.1 that could have allowed an authenticated user to achieve stored cross-site scripting by exploiting GitLab Flavored Markdown.

Other sources

GitLab has remediated an issue that could have allowed an authenticated user to achieve stored cross-site scripting by exploiting GitLab Flavored Markdown placeholder processing.

GitLab

Affected Software

7 affected componentsFixes available
GitLab GitLab>=18.2.2<18.5.5, >=18.6<18.6.3, >=18.7<18.7.1
18.5.518.6.318.7.1
GitLab GitLab>=18.2.2<18.5.5
GitLab GitLab>=18.2.2<18.5.5
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.5.5Fixed in 18.6.3Fixed in 18.7.1
  2. Upgrade

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

    Fixed in 18.5.5
  3. Upgrade

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

    Fixed in 18.6.3
  4. 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-9222?

CVE-2025-9222 has a medium severity rating due to the potential for stored cross-site scripting vulnerabilities.

2

How do I fix CVE-2025-9222?

To fix CVE-2025-9222, update GitLab to a version later than 18.7.1, 18.6.3, or 18.5.5.

3

Who is affected by CVE-2025-9222?

CVE-2025-9222 affects authenticated users of GitLab versions below 18.5.5, 18.6.3, and 18.7.1.

4

What type of vulnerability is CVE-2025-9222?

CVE-2025-9222 is classified as a stored cross-site scripting vulnerability that can be exploited through GitLab Flavored Markdown.

5

What should I do if I cannot upgrade to fix CVE-2025-9222?

If unable to upgrade, consider implementing strict input validation and output encoding to mitigate the risks associated with CVE-2025-9222.

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