{"id":"CVE-2025-9222","summary":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab","details":"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.","aliases":["BIT-gitlab-2025-9222"],"modified":"2026-12-05T21:01:30.252293009Z","published":"2026-01-09T10:04:36.272Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9222.json","cna_assigner":"GitLab","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://about.gitlab.com/releases/2026/01/07/patch-release-gitlab-18-7-1-released/"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-9222.json"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-9222"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9222.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9222"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2428222"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/562561"},{"type":"REPORT","url":"https://hackerone.com/reports/3297483"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"bef324d0853760755341c3ea7ca9469e4d962377"},{"fixed":"02bed4e66f5ddaceecbf001db3b5a2d20564bbd9"},{"introduced":"5927b4ad8ecf8b257f14761954d6e25858a3dc33"},{"fixed":"7cea882041755dd12e4e524d83af83bb609a2fa0"},{"introduced":"ceaa3c8b3a5ddb810b246bff3029e68cc57caf94"},{"last_affected":"ceaa3c8b3a5ddb810b246bff3029e68cc57caf94"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"18.2.2"},{"fixed":"18.5.5"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"18.2.2"},{"fixed":"18.5.5"}],"source":"CPE_RANGE"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"18.6.0"},{"fixed":"18.6.3"}]},{"range":[{"introduced":"18.6.0"},{"fixed":"18.6.3"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"},{"cpe":"cpe:2.3:a:gitlab:gitlab:18.7.0:*:*:*:community:*:*:*","range":[{"introduced":"18.7.0"},{"last_affected":"18.7.0"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:gitlab:gitlab:18.7.0:*:*:*:enterprise:*:*:*","range":[{"introduced":"18.7.0"},{"last_affected":"18.7.0"}]}]}}],"versions":["18.7.0","v18.7.0-ee","v18.6.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9222.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}]}