CVE-2026-16627

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

Published Aug 12, 2026 CVSS 3.1 · 7.7 High EPSS < 1% KEV · Not listed
Description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.2 before 19.2.2 that under certain conditions could have allowed an authenticated user with developer-role permissions to escalate privileges due to improper sanitization of HTML content rendered in a CI job modal.

Analysis

AI-generated

Technical impact

GitLab contains an XSS flaw that can be triggered by an authenticated developer when the CI job modal renders untrusted HTML. By injecting malicious code into this modal, an attacker could execute actions in the context of the developer’s session, potentially accessing sensitive data or further escalating privileges. The vulnerability stems from improper sanitization of HTML content, which is a classic cross‑site scripting weakness.

Affected Systems

The flaw affects GitLab Community Edition and Enterprise Edition, specifically all releases from 19.2 up to but not including 19.2.2. Users running any 19.2.x version before the 19.2.2 update are impacted.

Risk and Exploitability

The CVSS score of 7.7 classifies it as high severity. With no EPSS score available, the likelihood of exploitation cannot be precisely measured, and the vulnerability is not listed in the CISA KEV catalog, suggesting no publicly known exploits yet. The attack vector is likely restricted to authenticated developers who have permission to view or edit CI job modals, so exposure is limited to organizations with a large self‑managed developer workforce. The risk is therefore significant for environments where developers retain elevated privileges, but it does not represent an uncontrolled remote exploitation vector for unauthenticated users.

Remediation

Vendor Solution

Upgrade to version 19.2.2 or above.


OpenCVE Recommended Actions

  • Upgrade your GitLab installation to version 19.2.2 or later.
  • If an immediate upgrade is not possible, restrict developer‑level access to the CI job modal or disable services that permit rendering of user‑supplied HTML content.
  • Enforce server‑side input sanitization or escaping for any HTML that is displayed within CI job modals to prevent arbitrary script execution.

Generated by OpenCVE AI on August 12, 2026 at 22:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
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 CE/EE affecting all versions from 19.2 before 19.2.2 that under certain conditions could have allowed an authenticated user with developer-role permissions to escalate privileges due to improper sanitization of HTML content rendered in a CI job modal.
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': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:H/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
Aug 13, 2026, 3:55 AM
Reserved
Jul 22, 2026, 3:34 PM
Status
Analyzed
Published
Aug 12, 2026, 6:17 PM
Modified
Aug 19, 2026, 3:59 PM