Description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 14.0 before 19.0.5, 19.1 before 19.1.3, and 19.2 before 19.2.1 that under certain conditions could have allowed an attacker to execute arbitrary JavaScript in another user's browser via a crafted URL, due to improper sanitization of user-controlled input.
Published: 2026-07-29
Score: 4.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

GitLab contains a stored cross‑site scripting flaw whereby a specially crafted URL can cause arbitrary JavaScript to run in a victim’s browser. The vulnerability stems from insufficient sanitization of user‑controlled input and is categorized as CWE‑79. An attacker who can send a user such a URL would be able to execute code with the victim’s privileges, potentially leading to session hijacking, credential theft, or other downstream attacks. The impact is limited to the context of the web application and does not grant direct system access.

Affected Systems

The flaw is present in GitLab Community and Enterprise Editions from version 14.0 up through 19.0.4, all 19.1 releases before 19.1.3, and 19.2 releases before 19.2.1. Vendors affected are GitLab:GitLab. The recommended remedy is to upgrade to GitLab 19.0.5, 19.1.3, 19.2.1, or any newer release.

Risk and Exploitability

The CVSS score of 4.7 indicates a moderate overall risk. The EPSS score is below 1%, implying that, according to current data, the probability of exploitation is low but not zero. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires a user to visit a crafted URL; thus the attack vector is primarily user interaction via a web browser. Because the vulnerability was present only in a specific range of versions and under certain request conditions, the likelihood of successful exploitation is limited unless these conditions are met by the attacker. Nonetheless, the presence of an XSS vector warrants timely remediation.

Generated by OpenCVE AI on August 3, 2026 at 12:58 UTC.

Remediation

Vendor Solution

Upgrade to versions 19.0.5, 19.1.3, 19.2.1 or above.


OpenCVE Recommended Actions

  • Upgrade GitLab to version 19.0.5, 19.1.3, 19.2.1 or later to apply the vendor‑issued fix.
  • Enforce a stringent Content Security Policy that disallows inline scripts and restricts script sources to trusted origins.
  • Implement monitoring of application logs for anomalous script execution or XSS exploitation attempts to detect and respond to potential attacks.

Generated by OpenCVE AI on August 3, 2026 at 12:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 29 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Description GitLab has remediated an issue in GitLab CE/EE affecting all versions from 14.0 before 19.0.5, 19.1 before 19.1.3, and 19.2 before 19.2.1 that under certain conditions could have allowed an attacker to execute arbitrary JavaScript in another user's browser via a crafted URL, due to improper sanitization of user-controlled input.
Title Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
First Time appeared Gitlab
Gitlab gitlab
Weaknesses CWE-79
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
Vendors & Products Gitlab
Gitlab gitlab
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitLab

Published:

Updated: 2026-07-29T19:34:59.534Z

Reserved: 2026-02-24T02:34:16.776Z

Link: CVE-2026-3093

cve-icon Vulnrichment

Updated: 2026-07-29T19:34:56.782Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-29T20:17:03.137

Modified: 2026-08-03T14:04:02.133

Link: CVE-2026-3093

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T13:00:07Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')