CVE-2025-9222CWE-79

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

High · published January 9, 2026

CVSS v3.1
8.7
EPSS
0%
Percentile
35.6
In the wild
Unconfirmed
What it is

⚡ An authenticated user can exploit GitLab Flavored Markdown to inject malicious scripts! This vulnerability could lead to stored cross-site scripting (XSS) — a nasty surprise waiting for unwitting users. 🔥 Think of this as a restaurant where an employee sneaks in their own secret recipe — once added to the menu, unsuspecting diners unknowingly consume it. In this case, the ingredients are harmful scripts that can be executed by anyone viewing the affected content. If exploited, an attacker could execute unwanted scripts in the context of another user's session, potentially stealing sensitive data or hijacking accounts. It's like leaving the backdoor open, allowing a crafty thief to rummage through your valuables while you're away!

Put simply

Think of this as a restaurant where an employee sneaks in their own secret recipe — once added to the menu, unsuspecting diners unknowingly consume it. In this case, the ingredients are harmful scripts that can be executed by anyone viewing the affected content. This vulnerability in GitLab CE/EE allows an authenticated user to inject malicious scripts into GitLab Flavored Markdown, which then gets stored and executed when other users access the affected content.

What to do

If exploited, an attacker could execute unwanted scripts in the context of another user's session, potentially stealing sensitive data or hijacking accounts. It's like leaving the backdoor open, allowing a crafty thief to rummage through your valuables while you're away! Immediately update to GitLab versions 18.5.5, 18.6.3, or 18.7.1 to close this gap. Ensure your systems are running the latest version to mitigate risks. Regularly audit your user permissions and consider implementing a Content Security Policy for extra protection. You've got this! By following these steps, you’ll be securing your GitLab environment in no time! 🛡️

The record
Technical detail
CVSS v3.1
8.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00423 · 35.6th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-01-09T10:04Z
EPSS history
Timeline
  • 09 JAN 10:04Z
    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
    cvelistv5