Live threats

All CVEs / Gitlab

CVE-2021-22241Gitlab

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
1.0%
probability of exploitation in 30 days · percentile 64
Auth required
Yes
Published
Aug 5, 2021
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

An issue has been discovered in GitLab CE/EE affecting all versions starting from 14.0. It was possible to exploit a stored cross-site-scripting via a specifically crafted default branch name.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitlab.

Affected products (CPE)

VendorProductVersions
gitlabgitlab≥ 14.0.0 < 14.0.7
gitlabgitlab≥ 14.0.0 < 14.0.7
gitlabgitlab≥ 14.1.0 < 14.1.2
gitlabgitlab≥ 14.1.0 < 14.1.2

Official sources

References

Links published by the sources. Open them with care.