Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 8.7 (High) with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N reflects significant real-world risk. The Scope Change (S:C) indicates the vulnerability can impact resources beyond the security scope of the vulnerable component, affecting other users and system integrity. High Confidentiality (C:H) and Integrity (I:H) impacts confirm attackers can read sensitive data and modify system state/content on behalf of victims. The absence of Availability impact (A:N) suggests DoS is not a concern. The requirement for Low Privileges (PR:L) and User Interaction (UI:R) somewhat constrains exploitability compared to unauthenticated or no-UI-required variants, but these are not significant mitigations in practice—GitLab instances often have many legitimate users, and social engineering XSS is a well-established attack pattern. Without explicit EPSS or KEV data provided, this should be treated as high-priority based on CVSS alone; stored XSS in collaborative platforms like GitLab poses substantial risk to organizational security and user accounts. The combination of network accessibility, low complexity, and high impact makes this a genuine priority for patching. |
| Exploit ScenarioDerived | An attacker with a valid GitLab account (e.g., a disgruntled employee or external collaborator) crafts a malicious issue description, comment, or project description containing JavaScript payload designed to execute in the browser context of other users. When a project maintainer, admin, or another victim visits the page containing the injected content, their browser executes the attacker's script with their own authentication context. The script can then: (1) create new administrative users, (2) modify project settings or permissions, (3) exfiltrate sensitive data, (4) trigger CI/CD pipelines with malicious code, or (5) modify repository contents on behalf of the victim. The attack succeeds because the victim must view the malicious content (User Interaction requirement), which is trivial in collaborative platforms where users regularly review issues, merge requests, and comments. No CVSS-indicated POC availability is provided in the data, but stored XSS in web applications is a mature exploitation domain; exploitation difficulty is low once the injection point is identified. The Scope Change impact means a single compromised user account can cascade to system-wide compromise if that user has administrative privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 16, 2026
CVE-2025-6948 is a Stored Cross-Site Scripting (XSS) vulnerability in GitLab CE/EE that allows authenticated attackers to execute actions on behalf of other users through malicious content injection. Affected versions include 17.11 before 17.11.6, 18.0 before 18.0.4, and 18.1 before 18.1.2. An attacker with valid credentials can manipulate the UI context (via user interaction) to perform unauthorized actions with high confidentiality and integrity impact across the GitLab instance.
RemediationAI
Immediate patch deployment: GitLab CE/EE administrators must upgrade to version 17.11.6 or later (17.11.x line), 18.0.4 or later (18.0.x line), or 18.1.2 or later (18.1.x line). Refer to official GitLab security advisories and release notes at https://about.gitlab.com/releases/ for patch availability and deployment procedures. For organizations unable to patch immediately: (1) restrict GitLab access to trusted networks via firewall/VPN if feasible; (2) audit recent activity logs for suspicious content injections or unauthorized actions; (3) educate users about not clicking untrusted links or interacting with suspicious content within GitLab (projects, issues, MRs, comments); (4) implement Content Security Policy (CSP) headers if not already configured to mitigate XSS impact; (5) consider disabling certain GitLab features (e.g., rich text editing) temporarily if the vulnerability is tied to specific input vectors. Monitor vendor advisories closely for additional guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS), indicating that GitLab fails to properly sanitize or encode user-supplied input before storing and rendering it in web pages. The vulnerability affects GitLab Community Edition and Enterprise Edition across versions 17.11.x, 18.0.x, and 18.1.x. The attack vector is Network (AV:N) with Low Complexity (AC:L), meaning no special network conditions are required and the exploitation method is straightforward. The vulnerability requires Low Privileges (PR:L), confirming that any authenticated GitLab user can inject malicious payloads. The User Interaction (UI:R) requirement means the attack depends on social engineering or tricking legitimate users into interacting with crafted content, which is typical for XSS exploits targeting action execution.
Know when Gitlab gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
An issue has been discovered in GitLab CE/EE affecting all versions from 17.11 before 17.11.6, 18.0 before 18.0.4, and 18.1 before 18.1.2 that, under certain conditions, could have allowed a successful attacker to execute actions on behalf of users by injecting malicious content.
Executive ViewAI
GitLab instances running versions 17.11 through 18.1 are vulnerable to account takeover and unauthorized actions through content injection attacks. An attacker could impersonate legitimate users to perform actions such as code commits, access sensitive data, or modify configurations, compromising the integrity of development pipelines and potentially affecting downstream production systems.
Pending patch availability: (1) Implement network segmentation to restrict GitLab access to authorized users and systems only; (2) Deploy WAF rules to detect and block content injection payloads targeting GitLab endpoints; (3) Enable and enforce IP whitelisting for GitLab API access; (4) Disable webhook and API functionality if not actively required; (5) Increase audit logging verbosity and establish real-time alerting on user impersonation patterns; (6) Require multi-factor authentication for all GitLab accounts; (7) Implement code review workflows requiring approval from multiple trusted parties.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10
An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9, 16.
When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af
Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the
Remote code execution in GitLab CE/EE (all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2)
The SSH key upload feature (lib/gitlab_keys.rb) in gitlab-shell before 1.7.3, as used in GitLab 5.0 before 5.4.1 and 6.x
A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows
The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t
Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul
Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha
The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allSame technique Code Injection
View allVendor StatusVendor
Ubuntu
Priority: Medium| Release | Status | Version |
|---|---|---|
| xenial | ignored | - |
| jammy | DNE | - |
| noble | DNE | - |
| oracular | DNE | - |
| plucky | DNE | - |
| upstream | needs-triage | - |
Debian
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| sid | vulnerable | 17.6.5-19 | - |
| (unstable) | fixed | (unfixed) | - |
EUVD-2025-20989
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB