All vulnerabilities

Servers and applications

CVE-2021-39885

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

Severity
Medium 5.4
Published
4 Oct 2021
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
14.1.7, 14.2.5
Sources
NVD

Affected software

SoftwareAffected versions
GitLabServers and applications · cpe:a:gitlab:gitlab
  • From 13.7.0 before 14.1.7
  • From 14.2.0 before 14.2.5
  • Version 14.3.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-39885
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-39885