Skip to content
Fencer Vulns
high 8.7

CVE-2021-39885 json

A Stored XSS in merge request creation page in all versions of Gitlab EE starting from 13.7 before 14.1.7, all versions starting from 14.2…

published 2021-10-04 5 y ago modified 2026-09-10 1 mo ago also BIT-gitlab-2021-39885 , EUVD-2021-26241

cvss
8.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 66%
public exploits
0
none known

Summary

A Stored XSS in merge request creation page in all versions of Gitlab EE starting from 13.7 before 14.1.7, all versions starting from 14.2 before 14.2.5, and all versions starting from 14.3 before 14.3.1 allows an attacker to execute arbitrary JavaScript code on the victim's behalf via malicious approval rule names

Patch / fix

  • bitnami gitlab 14.1.7, 14.2.5, 14.3.1
  • gitlab gitlab 14.1.7, 14.2.5, 14.3.1
  • gitlab gitlab_enterprise 14.1.7, 14.2.5, 14.3.1

Exploit prediction

1.13% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • gitlab.com https://gitlab.com/gitlab-org/gitlab/-/issues/341140 referenced PoC, tagged "exploit" by a source, unverified
  • hackerone.com https://hackerone.com/reports/1342009 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N
OSV 3.1 8.7 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Affected packages

ecosystem package affected fixed in
bitnami gitlab
>=13.7.0, <14.1.7
>=14.2.0, <14.2.5
>=14.3.0, <14.3.1
14.1.7
14.2.5
14.3.1

Affected products

  • GitLab GitLab

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Enhance with deb and rpm package type records.