Skip to main content

GitLab EUVDEUVD-2026-42402

| CVE-2026-13320 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-08 cve@gitlab.com GHSA-m49f-rvv4-r4rv
5.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to GitLab with required privileges
  2. Delivery
    Inject unsanitized script into user content
  3. Exploit
    Victim views the malicious content
  4. Execution
    Script executes in victim's browser session
  5. Impact
    Hijack session or act 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 an authenticated GitLab account with the privileges needed to submit the vulnerable user-supplied input (CVSS PR:H), and it only triggers 'under certain conditions' per the vendor, consistent with the high attack complexity (AC:H) - meaning a specific field, feature, or state must be in play rather than any arbitrary input. Additionally, the attack requires victim user interaction (UI:R): a second user must load or view the page containing the injected payload for the script to run in their session. These factors - required authentication with elevated privilege, non-trivial preconditions, and a victim who must render the content - meaningfully limit real-world exploitability below what the network attack vector alone would suggest. The precise triggering feature was not disclosed in the available intelligence.

Impact

The CVSS 3.1 vector (AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N, base 7.3 High) presents a mixed risk profile: network-reachable and scope-changing with high confidentiality/integrity impact, but materially constrained by high attack complexity (AC:H), high privileges required (PR:H), and required user interaction (UI:R). These three limiting factors mean exploitation is not trivial or automatable. No EPSS score, KEV listing, or SSVC decision data was provided; absence of a KEV entry plus no public PoC suggests this is not under active or widespread exploitation. One inconsistency worth flagging: PR:H is unusually strict for an XSS that only requires an authenticated user able to inject content - many comparable GitLab XSS issues score PR:L, so the true privilege barrier may be lower than the vendor vector implies; verify against the GitLab advisory. Overall this is a real but moderate-priority issue best handled through normal patch cycles rather than emergency response.

Exploit ScenarioDerived

An authenticated GitLab user with sufficient privileges crafts input containing a malicious script and stores it in a field that another user will render (for example a work item, comment, or project field). When a targeted victim views that content, the script executes in their browser session, letting the attacker steal session tokens or perform authenticated actions as the victim. Exploitation requires the victim to interact with the malicious content and depends on the specific conditions noted by the vendor, consistent with the AC:H and UI:R metrics.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 08, 2026

Stored/reflected cross-site scripting in GitLab CE/EE (all versions from 15.7 before 18.11.7, 19.0 before 19.0.4, and 19.1 before 19.1.2) lets an authenticated user inject unsanitized input that executes arbitrary JavaScript in a victim's browser session, enabling session hijacking or actions on the victim's behalf. The scope-changed CVSS 7.3 reflects that the payload crosses a security boundary into another user's context. There is no public exploit identified at time of analysis, though the flaw originated from a HackerOne bug bounty submission and vendor patches are already available.

RemediationAI

Vendor-released patch: upgrade to GitLab CE/EE 18.11.7, 19.0.4, or 19.1.2 (whichever is on your release branch), per the GitLab patch release advisory (https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-1-2-released/); self-managed operators should apply the patch release immediately and GitLab.com is already remediated. If patching cannot be performed at once, reduce exposure by restricting who can create or edit the content types that carry the payload (limit project/group membership and untrusted external collaborators), enforcing that only trusted users have the elevated privileges the vector requires, and monitoring for anomalous script-like input in user-generated fields; note these controls reduce collaboration flexibility and do not fully close the injection path, so they are stopgaps only until the upgrade is applied.

Affected VersionsENISA

GitLab 15.7 <18.11.7
GitLab 19.1 <19.1.2
GitLab 19.0 <19.0.4

Affected Packages

euvd gitlab fix: 18.11.7, 19.0.4, 19.1.2

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 is a self-managed and SaaS DevOps platform (Community and Enterprise Editions) built on Ruby on Rails with a Vue/JavaScript front end that renders large volumes of user-supplied content (issues, merge requests, comments, project metadata, work items). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), where user-supplied input is not correctly sanitized or contextually encoded before being rendered in another user's browser DOM, allowing HTML/JavaScript injection. No CPE strings were supplied in the intelligence, so exact affected-configuration enumeration relies on the vendor-stated version ranges rather than NVD CPE data. The linked work item (gitlab-org/gitlab#604063) corresponds to the internal remediation tracking.

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

NVD PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 7.7 HIGH

Network-reachable authenticated XSS needing only a content-creation privilege (PR:L, not H), specific conditions (AC:H) and victim viewing (UI:R); executes in another user's context (S:C) with high C/I impact, no availability effect.

3.1 AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
Red Hat 7.3 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Severity Changed
Jul 09, 2026 - 20:37 NVD
HIGH MEDIUM
CVSS changed
Jul 09, 2026 - 20:37 NVD
7.3 (HIGH) 5.4 (MEDIUM)
Patch available
Jul 08, 2026 - 22:04 EUVD

DescriptionNVD

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 15.7 before 18.11.7, 19.0 before 19.0.4, and 19.1 before 19.1.2 that under certain conditions could have allowed an authenticated user to execute arbitrary scripts in another user's browser session due to improper sanitization of user-supplied input.

Executive ViewAI

Why It Matters

GitLab CE/EE versions 15.7 through 19.1.1 contain a stored/reflected cross-site scripting vulnerability that allows authenticated users to inject and execute arbitrary JavaScript in other users' browser sessions. This vulnerability directly enables session hijacking, account impersonation, and unauthorized actions within GitLab-potentially affecting code integrity, sensitive data access, and compliance posture across your organization.

Business Impact: High
Compensating Controls

Vendor-released patch: GitLab CE/EE 18.11.7, 19.0.4, 19.1.2 or later. Interim mitigations if patching is delayed: restrict GitLab access to essential personnel, monitor audit logs for XSS-pattern activity or cross-user unauthorized actions, implement IP-based access controls to limit exposure.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
High
widely deployed enterprise DevOps platform, self-managed and SaaS
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Gitlab

View all
CVE-2021-22205 CRITICAL POC
10.0 Apr 23

An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10

CVE-2023-7028 CRITICAL POC
10.0 Jan 12

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.

CVE-2021-22175 CRITICAL POC
9.8 Jun 11

When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af

CVE-2026-85706 CRITICAL POC
10.0 Sep 12

Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the

CVE-2026-97229 CRITICAL POC
10.0 Oct 13

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)

CVE-2013-4490 MEDIUM POC
6.5 May 13

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

CVE-2022-2992 CRITICAL POC
9.9 Oct 17

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

CVE-2024-45409 CRITICAL POC
9.8 Sep 10

The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t

CVE-2026-110264 CRITICAL POC
10.0 Oct 22

Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul

CVE-2026-87719 CRITICAL POC
9.9 Sep 12

Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

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

CVE-2026-72867 CRITICAL POC
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy