CVE-2025-9222
published high CVSS 3.1 · 8.7Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitLab | — | GitLab18.2.2 to < 18.5.5 · 18.6 to < 18.6.3 · 18.7 to < 18.7.1 · Other versions: unaffected | Affected | Not stated | GitLab |
| Red Hat | — | openshift-pipelines/pipelines-console-plugin-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift4/ose-consoleRed Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift4/ose-console-rhel9Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat-SADP |
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.
A flaw was found in GitLab. An authenticated user could achieve stored cross-site scripting (XSS) by exploiting GitLab Flavored Markdown. This vulnerability allows an attacker to inject malicious scripts into web pages, which can then be executed in the browsers of other users who view the affected content, potentially leading to information disclosure or unauthorized actions.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitLab · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.7 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitLab | GitLab | 18.2.2 to < 18.5.5 (affected · semver)18.6 to < 18.6.3 (affected · semver)18.7 to < 18.7.1 (affected · semver)Default: unaffected | GitLab · cna |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- https://about.gitlab.com/releases/2026/01/07/patch-release-gitlab-18-7-1-released/
- https://access.redhat.com/security/cve/CVE-2025-9222
- RHBZ#2428222 https://bugzilla.redhat.com/show_bug.cgi?id=2428222
- GitLab Issue #562561 https://gitlab.com/gitlab-org/gitlab/-/issues/562561
- HackerOne Bug Bounty Report #3297483 https://hackerone.com/reports/3297483
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-9222.json
Provider assertions
3GitLab · cna
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
redhat-SADP · adp
gitlab: GitLab: Stored Cross-Site Scripting via GitLab Flavored Markdown
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 990dc9c84065df88d3ce45e2cd5a94ce90dbf284bbaecb0e79d70eb2b9aac3eb
- Ingested
- 23 Sep 2026, 08:59:28 UTC
- Source record
- Official CVE record