CVE-2026-1282 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in GitLab

Low 3.5 Published Updated

An authenticated user can inject malicious scripts into project label titles, potentially leading to code execution or account takeover.

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-1282?

CVE-2026-1282 is a low-severity cross-site scripting vulnerability in Gitlab Gitlab, published on 11 Feb 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 18.6 before 18.6.6, 18.7 before 18.7.4, and 18.8 before 18.8.4 that could have allowed an authenticated user to inject malicious content into project labels titles.

Weakness: CWE-80

Which versions are affected by CVE-2026-1282?

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

PackageAffectedFixed in
gitlab BitnamiFrom 18.6.018.6.6, 18.7.4, 18.8.4

Products include Gitlab Gitlab.

How do I fix CVE-2026-1282?

Upgrade gitlab to a fixed version for your release line: 18.6.6, 18.7.4 or 18.8.4.

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-1282 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-1282 exists.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2026-1282, GHSA-8f2f-6w9m-mg42, MINI-3x94-qqc3-gf5m, MINI-4vqv-wjgp-cg7j, MINI-5mch-42mj-5q8j, MINI-5wgq-4938-28q8 and 9 more.

Is CVE-2026-1282 in your software?

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

Check your SBOMs for free