CVE-2025-9222
HIGH 8.7 ALL-YEARSGitLab 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.
Severe if exploited (CVSS 8.7), but no confirmed exploitation. Patch on a normal cadence.
Exploitation likelihood
0.4%chance of exploitation in 30 days · 36th percentile
Impact if exploited
8.7CVSS 3.1 · HIGH · CNA
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityNone
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ⚠Privileges: Requires a low-privilege account
- ⚠User interaction: A user must take an action (click / open a file)
- ✓Complexity: No special conditions — reliably repeatable
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Affected
Products Gitlab Openshift Pipelines Red Hat Openshift Container Platform 4
Weakness (CWE)
- CWE-79: : Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
References and research data (JSON)
Vendor product assessments
openshift-pipelines/pipelines-console-plugin-rhel9 as a component of OpenShift Pipelines · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:oci/pipelines-console-plugin-rhel9?repository_url=registry.redhat.io/openshift-pipelines/pipelines-console-plugin-rhel9
Red Hat · CVE-2025-9222 · Updated 2026-06-30T04:08:56+00:00openshift4/ose-console as a component of Red Hat OpenShift Container Platform 4 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:oci/ose-console?repository_url=registry.redhat.io/openshift4/ose-console
Red Hat · CVE-2025-9222 · Updated 2026-06-30T04:08:56+00:00openshift4/ose-console-rhel9 as a component of Red Hat OpenShift Container Platform 4 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:oci/ose-console-rhel9?repository_url=registry.redhat.io/openshift4/ose-console-rhel9
Red Hat · CVE-2025-9222 · Updated 2026-06-30T04:08:56+00:00
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Gitlab | Gitlab | ≥ 18.2.2 and < 18.5.5 |
| Gitlab | Gitlab | ≥ 18.2.2 and < 18.5.5 |
| Gitlab | Gitlab | ≥ 18.6.0 and < 18.6.3 |
| Gitlab | Gitlab | ≥ 18.6.0 and < 18.6.3 |
| Gitlab | Gitlab | 18.7.0 |
| Gitlab | Gitlab | 18.7.0 |
All CVSS metrics
- HIGH 8.7 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N - HIGH 8.7 v3.1 · ADP Primary
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N - HIGH 8.7 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N - MEDIUM 5.4 v3.1 · NVD Primary
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
Exploit-tagged references (not proof of a PoC)
- https://hackerone.com/reports/3297483 CVE record · GitLab · Updated 2026-01-09T10:04:36.272Z
NVD · CVE-2025-9222 · Updated 2026-07-15T02:17:54.580
Red Hat · CVE-2025-9222 · Updated 2026-06-30T04:08:56+00:00
Advisories
- https://about.gitlab.com/releases/2026/01/07/patch-release-gitlab-18-7-1-released/ CVE record · GitLab · Updated 2026-01-09T10:04:36.272Z
NVD · CVE-2025-9222 · Updated 2026-07-15T02:17:54.580
Red Hat · CVE-2025-9222 · Updated 2026-06-30T04:08:56+00:00 - https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-9222.json CVE record · redhat-SADP · Updated 2026-07-15T01:24:25.170Z
NVD · CVE-2025-9222 · Updated 2026-07-15T02:17:54.580
Red Hat · CVE-2025-9222 · Updated 2026-06-30T04:08:56+00:00 - https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-1757 EUVD · EUVD-2026-1757
Technical & other
- https://gitlab.com/gitlab-org/gitlab/-/issues/562561 CVE record · GitLab · Updated 2026-01-09T10:04:36.272Z
NVD · CVE-2025-9222 · Updated 2026-07-15T02:17:54.580
Red Hat · CVE-2025-9222 · Updated 2026-06-30T04:08:56+00:00 - https://access.redhat.com/security/cve/CVE-2025-9222 CVE record · redhat-SADP · Updated 2026-07-15T01:24:25.170Z
NVD · CVE-2025-9222 · Updated 2026-07-15T02:17:54.580
Red Hat · CVE-2025-9222 · Updated 2026-06-30T04:08:56+00:00 - https://bugzilla.redhat.com/show_bug.cgi?id=2428222 CVE record · redhat-SADP · Updated 2026-07-15T01:24:25.170Z
NVD · CVE-2025-9222 · Updated 2026-07-15T02:17:54.580
Red Hat · CVE-2025-9222 · Updated 2026-06-30T04:08:56+00:00 - https://www.cve.org/CVERecord?id=CVE-2025-9222 Red Hat · CVE-2025-9222 · Updated 2026-06-30T04:08:56+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2025-9222 Red Hat · CVE-2025-9222 · Updated 2026-06-30T04:08:56+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS