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

High 7.7 Published Updated

An authenticated developer can exploit XSS in CI job modals to escalate privileges within GitLab.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-16627?

CVE-2026-16627 is a high-severity cross-site scripting vulnerability in Gitlab Gitlab, published on 12 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

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

Weakness: CWE-79

Which versions are affected by CVE-2026-16627?

1 open source package ship an affected version, including gitlab. It affects 1 product.

PackageAffectedFixed in
gitlab BitnamiFrom 19.2.019.2.2

Products include Gitlab Gitlab.

How do I fix CVE-2026-16627?

Upgrade gitlab to 19.2.2 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-16627 being exploited?

There is no known exploitation of CVE-2026-16627 in the wild and no public exploit code.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2026-16627, GHSA-mjv5-423q-gjfg, MINI-j7rg-96m6-c9g6.

Is CVE-2026-16627 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free