Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCraft malicious HTML payload
-
DeliveryDeliver via external page/document/chat
-
ExploitLure victim to copy content
-
InstallVictim pastes into Content Editor
-
C2Sanitization bypassed on paste
-
ExecuteJavaScript runs in victim session
-
ImpactAPI calls / data exfiltration as victim
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. |
| Exploitation Conditions | Exploitation requires (1) a GitLab instance running an affected version in the 19.0-19.3 ranges listed, (2) the targeted user to actively paste attacker-influenced HTML into a Content Editor surface (issue, comment, wiki, or similar rich-text field) - this is the UI:R requirement and the core non-default-behavior condition, and (3) the malicious markup must survive the editor's paste handling long enough to be rendered, which the vulnerability description states it does due to improper sanitization. The CVSS vector PR:N indicates no GitLab authentication is required of the attacker, so the payload source can be external (a third-party page, email, chat, or document the victim copies from); however, only a user's own paste triggers execution, so the victim must be an authenticated GitLab user for the session-context impact to matter. Limiting factors: no automation - every victim must be individually induced to paste, which prevents worm-like mass exploitation; no availability impact and only low confidentiality/integrity impact per the vector; and no KEV listing, so no confirmed widespread or automated campaign. |
| Impact | Conflicting but ultimately moderate signals: the CVSS base is only 4.7 with AV:N yet AC:H, UI:R, and S:C - meaning exploitation requires the victim to actively paste attacker-supplied HTML, which sharply reduces reliable mass exploitation. PR:N indicates the attacker needs no GitLab account per the vendor vector, so the injection can originate from an unauthenticated channel (e.g., external content copied by the victim), but the user-interaction requirement is the real gate. Public exploit information is available (HackerOne report 3808840), which raises the practical risk above a purely theoretical XSS, and an XSS in GitLab is valuable because it can be chained into session/token theft and API abuse. There is no CISA KEV listing, so this is not confirmed actively exploited, and no EPSS score was supplied - that gap should be verified before treating this as an emergency. SSVC-style reading: exploitation = PoC/public, automatable = no (requires human paste), technical impact = partial (limited confidentiality and integrity, no availability). Net assessment: patch promptly as part of routine release hygiene, but do not treat as a drop-everything incident. |
| Exploit ScenarioDerived | An attacker hosts or sends HTML containing a script payload (or places it where the victim will copy it), then social-engineers a logged-in GitLab user into copying that content and pasting it into a Content Editor field such as an issue, comment, or wiki page. Because the pasted HTML is not sanitized, the script executes in the victim's GitLab session and can exfiltrate page data, act on the GitLab API using the victim's session, or perform unauthorized state-changing actions. The requirement for the victim to perform a paste (UI:R) and the attacker's inability to guarantee the exact paste content (AC:H) are the main obstacles, though public exploit details exist. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
A stored/cross-context cross-site scripting flaw (CWE-79) in GitLab CE/EE's Content Editor allows an unauthenticated attacker to run arbitrary JavaScript in a targeted user's session, because pasted HTML is not sanitized properly. All GitLab Community and Enterprise Edition versions from 19.0 up to (but not including) 19.1.8, 19.2.6, and 19.3.2 are affected. Publicly available exploit information exists via a HackerOne report, but the issue is not listed in CISA KEV and its low EPSS-relevant profile (CVSS 4.7, AC:H, UI:R) places it in the moderate rather than emergency tier.
RemediationAI
Upgrade to a fixed release: GitLab 19.1.8, 19.2.6, or 19.3.2 (or later on each respective branch) - these are vendor-released patches per the patch release advisory at https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-3-2-released/. No vendor-documented workaround is provided in the references. Compensating controls if immediate upgrade is impossible: (1) instruct users not to paste HTML/rich content from untrusted sources into GitLab Content Editor fields - this directly removes the paste-triggered vector but is a policy control with no enforcement, so pair it with user awareness messaging; (2) verify and tighten the Content-Security-Policy on the GitLab instance and ensure script-src does not allow inline/unsafe-inline, which can neutralize many XSS payloads but may break legitimate GitLab features and requires testing; (3) if your deployment allows it, disable or restrict the Content Editor / rich text editing feature so that pasted HTML is never rendered, with the trade-off that users lose rich-text composition and may fall back to Markdown where sanitization behavior must be re-verified. Track the HackerOne report https://hackerone.com/reports/3808840 for any additional reproduction detail that could refine filtering.
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
GitLab CE/EE ships a rich-text Content Editor (wiki, issues, comments, epics, snippets) that accepts clipboard paste events carrying HTML. The editor failed to sanitize that pasted markup, so script-capable elements or attributes survived into the rendered document - the classic CWE-79 improper neutralization of user-controlled input in a web page. Because the malicious payload is pasted into a page within the GitLab origin, the resulting JavaScript executes with the victim's session context and can reach GitLab APIs, tokens, or CSRF-exposed actions. The CPE cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:* confirms the GitLab core application (both CE and EE distributions are built from the same code base) as the affected component, with the scope-change (S:C) flag in the CVSS vector reflecting that the vulnerable Content Editor component can affect the broader user session.
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:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Network-reachable content but human paste interaction (UI:R) and unreliable payload survival (AC:H) drive the low base score; no availability impact.
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
Lifecycle Timeline
2DescriptionCVE.org
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.0 before 19.1.8, 19.2 before 19.2.6, and 19.3 before 19.3.2 that under certain conditions could have allowed an unauthenticated user to execute arbitrary JavaScript in the context of a targeted user's session due to improper sanitization of pasted HTML content in the Content Editor.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
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
EUVD-2026-80117
GHSA-q86m-h56q-9rjq
NVD
CVE.org
EPSS
VulDB
Exploit-DB