LiveActive security incident?Get immediate response
CVE Record

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.

HighCVSS 8.7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

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.
Prepared
Confidence
high
Sources
8

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.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-9222 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

ScoreVersionSeverityVectorExploitImpactSource
8.7CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N2.35.8GitLab
8.7CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N2.35.8redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

8.7High
CVSS 3.1 vector shape for CVE-2025-9222Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPgitlab: GitLab: Stored Cross-Site Scripting via GitLab Flavored Markdown
other:Red Hat severity ratingcvssV3_1
  • 2026-01-09T10:15:32.478Z: Reported to Red Hat.
  • 2026-01-09T10:04:36.272Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
GitLabGitLab18.2.2, 18.6, 18.7unaffected
Weakness

CWE details

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.