CVE-2026-3093

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

Published Jul 29, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
Jul 29, 2026, 7:34 PM
Reserved
Feb 24, 2026, 2:34 AM
Status
Analyzed
Published
Jul 29, 2026, 8:17 PM
Modified
Aug 3, 2026, 2:04 PM