CVE-2026-6896

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

Published Jul 8, 2026 CVSS 3.1 · 8.7 High EPSS < 1% KEV · Not listed
Description
GitLab has remediated an issue in GitLab EE affecting all versions from 13.11 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 with developer-role permissions to execute arbitrary scripts in another user's browser session due to improper sanitization of user-supplied input.

Analysis

AI-generated

Technical impact

GitLab Enterprise Edition has an XSS flaw that allows an authenticated developer with developer‐role permissions to inject arbitrary scripts into pages viewed by other users. The vulnerability stems from improper sanitization of user‑supplied input during web page generation, which can enable arbitrary client‑side script execution in the victim’s browser session.

Affected Systems

GitLab EE versions 13.11 up to 18.11.6, 19.0 up to 19.0.3, and 19.1 up to 19.1.1 are impacted. These include all releases of the GitLab Enterprise Edition between those ranges. Users should verify their exact build and compare against the vendor's advisories to determine if a patch is required.

Risk and Exploitability

The CVSS base score of 8.7 denotes high severity. The EPSS score of <1% indicates a low likelihood of exploitation in the broader ecosystem. The flaw requires authenticated developer permissions, restricting the attacker pool to users with that role within an organization. The vulnerability is not listed in the CISA KEV catalog. Therefore, while the potential impact of arbitrary script execution exists, the actual risk depends on the organization’s developer access controls and the ability to patch.

Remediation

Vendor Solution

Upgrade to versions 18.11.7, 19.0.4, 19.1.2 or above.


OpenCVE Recommended Actions

  • Upgrade GitLab to version 18.11.7 or later, 19.0.4 or later, or 19.1.2 or later as specified by the vendor.
  • If an immediate upgrade is not feasible, restrict the use of the affected input areas to users with developer role permissions, or disable the feature that processes such input until the patch is applied.
  • Review and limit developer permissions so that only trusted personnel hold developer roles and remove any unnecessary developer privileges.

Generated by OpenCVE AI on August 1, 2026 at 15:30 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': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description GitLab has remediated an issue in GitLab EE affecting all versions from 13.11 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 with developer-role permissions to execute arbitrary scripts in another user's browser session due to improper sanitization of user-supplied 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': 8.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
Jul 9, 2026, 2:13 PM
Reserved
Apr 23, 2026, 5:33 AM
Status
Analyzed
Published
Jul 8, 2026, 9:16 PM
Modified
Oct 25, 2026, 5:10 PM