Live threats

All CVEs / Gitlab

CVE-2021-39887Gitlab

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.9%
probability of exploitation in 30 days · percentile 56
Auth required
Yes
Published
Oct 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

A stored Cross-Site Scripting vulnerability in the GitLab Flavored Markdown in GitLab CE/EE version 8.4 and above allowed an attacker to execute arbitrary JavaScript code on the victim's behalf.

Original NVD text.

What to do

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

Affected products (CPE)

VendorProductVersions
gitlabgitlab≥ 8.4.0 < 14.1.7
gitlabgitlab≥ 8.4.0 < 14.1.7
gitlabgitlab≥ 14.2 < 14.2.5
gitlabgitlab≥ 14.2 < 14.2.5
gitlabgitlab≥ 14.3 < 14.3.1
gitlabgitlab≥ 14.3 < 14.3.1

Official sources

References

Links published by the sources. Open them with care.