CVE-2025-9222: GitLab cross-site scripting (XSS)
This GitLab advisory covers CVE-2025-9222 in GitLab.
Am I affected by CVE-2025-9222?
You are affected if you run GitLab at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| GitLab 18.2.2 before 18.5.5 | 18.5.5 |
| GitLab 18.6 before 18.6.3 | 18.6.3 |
| GitLab 18.7 before 18.7.1 | 18.7.1 |
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- High, CVSS 8.7
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N· base score 8.7, scored by GitLabAttack vector: network. Attack complexity: low. Privileges required: low. User interaction: required. Scope: changed. Confidentiality impact: high. Integrity impact: high. Availability impact: none.- Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- EPSS
- 0.57% chance of exploitation in the next 30 days (40th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
Description
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.
Text from the source record.
Support dates for the fixed release lines
- GitLab 18.5: support ended
- GitLab 18.6: support ended
- GitLab 18.7: support ended
CVE-2025-9222 in other vendors' advisories
- Red Hat: CVE-2025-9222, high severity
CVE-2025-9222 questions
Is CVE-2025-9222 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the GitLab advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2025-9222?
You are affected if you run GitLab at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.
How do I fix CVE-2025-9222?
Upgrade to a fixed release GitLab lists for your version: 18.5.5, 18.6.3, 18.7.1.
How likely is CVE-2025-9222 to be exploited?
FIRST's EPSS model gives it a 0.57% chance of exploitation in the next 30 days (40th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.
How serious is CVE-2025-9222?
GitLab rates it high, CVSS 8.7 out of 10.
More GitLab advisories
CVE-2026-110264Oct 22, 2026Integer Overflow or Wraparound in GitLabCVE-2026-15723Oct 21, 2026GitLab LDAP injectionCVE-2026-112212Oct 21, 2026Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') in GitLabCVE-2026-14814Oct 13, 2026Permissive Regular Expression in GitLabCVE-2026-16301Oct 13, 2026GitLab improper access controlCVE-2026-81839Oct 13, 2026GitLab improper access control
Get an email when GitLab CE / EE publishes the next one.
See GitLab CE / EE's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).