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
References
Link Resource
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39885.json Vendor Advisory
https://gitlab.com/gitlab-org/gitlab/-/issues/341140 Exploit Issue Tracking Vendor Advisory
https://hackerone.com/reports/1342009 Exploit Permissions Required Third Party Advisory
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39885.json Vendor Advisory
https://gitlab.com/gitlab-org/gitlab/-/issues/341140 Exploit Issue Tracking Vendor Advisory
https://hackerone.com/reports/1342009 Exploit Permissions Required Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:gitlab:gitlab:14.3.0:*:*:*:enterprise:*:*:*

History

21 Nov 2024, 06:20

Type Values Removed Values Added
References () https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39885.json - Vendor Advisory () https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39885.json - Vendor Advisory
References () https://gitlab.com/gitlab-org/gitlab/-/issues/341140 - Exploit, Issue Tracking, Vendor Advisory () https://gitlab.com/gitlab-org/gitlab/-/issues/341140 - Exploit, Issue Tracking, Vendor Advisory
References () https://hackerone.com/reports/1342009 - Exploit, Permissions Required, Third Party Advisory () https://hackerone.com/reports/1342009 - Exploit, Permissions Required, Third Party Advisory
CVSS v2 : 3.5
v3 : 5.4
v2 : 3.5
v3 : 8.7

Information

Published : 2021-10-04 17:15

Updated : 2024-11-21 06:20


NVD link : CVE-2021-39885

Mitre link : CVE-2021-39885

CVE.ORG link : CVE-2021-39885


JSON object : View

Products Affected

gitlab

  • gitlab
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')