{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-9222","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","state":"PUBLISHED","assignerShortName":"GitLab","dateReserved":"2025-08-20T05:06:09.403Z","datePublished":"2026-01-09T10:04:36.272Z","dateUpdated":"2026-06-30T12:07:26.698Z"},"containers":{"cna":{"title":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab","descriptions":[{"lang":"en","value":"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":[{"vendor":"GitLab","product":"GitLab","repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"],"versions":[{"version":"18.2.2","status":"affected","lessThan":"18.5.5","versionType":"semver"},{"version":"18.6","status":"affected","lessThan":"18.6.3","versionType":"semver"},{"version":"18.7","status":"affected","lessThan":"18.7.1","versionType":"semver"}],"defaultStatus":"unaffected"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","cweId":"CWE-79","type":"CWE"}]}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/562561","name":"GitLab Issue #562561","tags":["issue-tracking","permissions-required"]},{"url":"https://hackerone.com/reports/3297483","name":"HackerOne Bug Bounty Report #3297483","tags":["technical-description","exploit","permissions-required"]},{"url":"https://about.gitlab.com/releases/2026/01/07/patch-release-gitlab-18-7-1-released/"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}}],"solutions":[{"lang":"en","value":"Upgrade to versions 18.5.5, 18.6.3, 18.7.1 or above."}],"credits":[{"lang":"en","value":"Thanks [yvvdwf](https://hackerone.com/yvvdwf) for reporting this vulnerability through our HackerOne bug bounty program","type":"finder"}],"providerMetadata":{"orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","shortName":"GitLab","dateUpdated":"2026-01-09T10:04:36.272Z"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-9222","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-01-10T04:55:48.752414Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-02-26T15:04:51.985Z"}},{"affected":[{"cpes":["cpe:/a:redhat:openshift_pipelines:1"],"defaultStatus":"unaffected","product":"OpenShift Pipelines","vendor":"Red Hat"},{"cpes":["cpe:/a:redhat:openshift:4"],"defaultStatus":"unaffected","product":"Red Hat OpenShift Container Platform 4","vendor":"Red Hat"}],"datePublic":"2026-01-09T10:04:36.272Z","descriptions":[{"lang":"en","value":"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."}],"metrics":[{"other":{"content":{"namespace":"https://access.redhat.com/security/updates/classification/","value":"Important"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"references":[{"tags":["vdb-entry","x_refsource_REDHAT"],"url":"https://access.redhat.com/security/cve/CVE-2025-9222"},{"name":"RHBZ#2428222","tags":["issue-tracking","x_refsource_REDHAT"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2428222"},{"tags":["x_sadp-csaf-vex"],"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-9222.json"}],"timeline":[{"lang":"en","time":"2026-01-09T10:15:32.478Z","value":"Reported to Red Hat."},{"lang":"en","time":"2026-01-09T10:04:36.272Z","value":"Made public."}],"title":"gitlab: GitLab: Stored Cross-Site Scripting via GitLab Flavored Markdown","x_adpType":"supplier","x_generator":{"engine":"sadp-cli 1.0.0"},"providerMetadata":{"orgId":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","shortName":"redhat-SADP","dateUpdated":"2026-06-30T12:07:26.698Z"}}]}}