CVE-2025-9222: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
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.
Security readout for executives and security teams
Plain-English summary
GitLab fixed a stored cross-site scripting issue in GitLab Flavored Markdown. A logged-in user could place malicious content that runs when another user views it. The main business risk is theft or abuse of sensitive GitLab session data or actions in a victim’s browser, depending on privileges.
Executive priority
Treat as a high-priority GitLab patching item. It is not marked as known exploited, but stored XSS inside a source-code platform can affect sensitive projects and privileged users.
Technical view
CVE-2025-9222 is CWE-79 stored XSS in GitLab CE/EE. It affects 18.2.2 before 18.5.5, 18.6 before 18.6.3, and 18.7 before 18.7.1. CVSS 3.1 is 8.7 with low attack complexity, low privileges, required user interaction, changed scope, and high confidentiality and integrity impact.
Likely exposure
Organizations running self-managed GitLab CE/EE in the listed affected version ranges are exposed, especially multi-user or externally reachable instances where many authenticated users can create Markdown content.
Exploitation context
The source bundle does not show CISA KEV listing or cited evidence of active exploitation. Exploitation requires an authenticated user and a victim viewing stored GitLab Flavored Markdown content. Detailed issue and HackerOne references are marked permissions-required, limiting public technical confirmation.
Researcher notes
Public detail is limited because key GitLab and HackerOne references are marked permissions-required. The available record supports stored XSS through GitLab Flavored Markdown, authenticated attacker requirements, user interaction, and fixed version boundaries, but not active exploitation.
Mitigation direction
Upgrade GitLab to 18.5.5, 18.6.3, 18.7.1, or a later fixed release.
Prioritize externally reachable and high-trust GitLab instances first.
Review GitLab’s patch release and vendor guidance for any additional instructions.
Restrict untrusted authenticated access until patched where operationally feasible.
Validation and detection
Inventory GitLab CE/EE instances and record exact version numbers.
Confirm no instance runs 18.2.2 through before 18.5.5.
Confirm no instance runs 18.6 before 18.6.3.
Confirm no instance runs 18.7 before 18.7.1.
Review recent Markdown-heavy activity for unusual stored content if exposure existed.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
7Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.