CVE-2021-39885

HIGH

GitLab 13.7.0-14.1.6, 14.2.0-14.2.4, 14.3.0 - Stored Cross-Site Scripting via Approval Rule Name

Title source: llm
STIX 2.1

Description

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 (3)

Core 3
Core References
Exploit, Issue Tracking, Vendor Advisory x_refsource_misc
https://gitlab.com/gitlab-org/gitlab/-/issues/341140
Exploit, Permissions Required, Third Party Advisory x_refsource_misc
https://hackerone.com/reports/1342009

Scores

CVSS v3 8.7
EPSS 0.0022
EPSS Percentile 44.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Details

CWE
CWE-79
Status published
Products (2)
gitlab/gitlab 14.3.0
gitlab/gitlab 13.7.0 - 14.1.7
Published Oct 04, 2021
Tracked Since Feb 18, 2026