CVE-2025-9222: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
CVE-2025-9222 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 8.7 (GitLab), 8.7 (Red Hat)
- 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, .
- Fixed releases
- GitLab: 18.5.5, 18.6.3, 18.7.1
- Assigned by
- GitLab (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2025-9222; each belongs to its advisory, not to every product listed. How records are collected and checked.
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: GitLab 18.2.2 before 18.5.5 | 18.5.5 |
| GitLab: GitLab 18.6 before 18.6.3 | 18.6.3 |
| GitLab: GitLab 18.7 before 18.7.1 | 18.7.1 |
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 CVE.org record (GitLab).
How do I fix CVE-2025-9222?
Upgrade to a fixed release named by the vendor:
- GitLab: 18.5.5, 18.6.3, 18.7.1
- Red Hat rates this important; a fix erratum may not be out yet — apply the RHSA as soon as it publishes. (Red Hat)
- Upgrade to versions 18.5.5, 18.6.3, 18.7.1 or above. (CVE.org record)
Vendor advisories for CVE-2025-9222
GitLab
1 advisory- Advisory severityHigh8.7
High [CVE-2025-9222] Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
CVE-2025-9222Source published Source 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.
- Affected products in this advisory
- GitLab
- Source-reported affected versions
- GitLab 18.2.2 before 18.5.5
- GitLab 18.6 before 18.6.3
- GitLab 18.7 before 18.7.1
- Source-reported fixed versions
- 18.5.5
- 18.6.3
- 18.7.1
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
Red Hat
1 advisory- Advisory severityHigh8.7
High [CVE-2025-9222] Stored Cross-Site Scripting via GitLab Flavored Markdown
CVE-2025-9222Source published
Stored Cross-Site Scripting via GitLab Flavored Markdown. Red Hat rates this important (CVSS 8.7). Weakness: CWE-79. No fix erratum has been published yet; monitor the Red Hat CVE page and apply the RHSA when released.
- Related products — impact not confirmed
- Red Hat Enterprise Linux
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- Red Hat rates this important; a fix erratum may not be out yet — apply the RHSA as soon as it publishes.
References
- CVE-2025-9222 recordCVE.org
- CVE-2025-9222 detailNVD
- GitLab Issue #562561issue-tracking, permissions-required
- HackerOne Bug Bounty Report #3297483technical-description, exploit, permissions-required
- about.gitlab.com/releases/2026/01/07/patch-release-gitlab-18-7-1-released
Timeline
- First vendor advisory listed by VulniPulse
- CVE record published
- CVE record last updated
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 publishes the next one.
See GitLab'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).