CVE-2021-39885
JSON

8.7high

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…

Severity
8.7high CVSS:3.1 by GitLab
Exploit likelihood
1.13% (higher than 67% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitLab
Also known as
BIT-GITLAB-2021-39885

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

Affected

Product or packageVersionsReported by
GitLab GitLab>=13.7, <14.1.7, >=14.2, <14.2.5, >=14.3, <14.3.1, from 13.7.0 before 14.1.7, from 14.2.0 before 14.2.5, 14.3.0CVE List, NVD
gitlab (Bitnami)from 13.7.0 before 14.1.7, from 14.2.0 before 14.2.5, from 14.3.0 before 14.3.1Bitnami Vulnerability Database

All scores

GitLab8.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

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

NVD (es)

Un XSS almacenado en la página de creación de solicitudes de fusión en todas las versiones de Gitlab EE a partir de la 13.7 antes de la 14.1.7, todas las versiones a partir de la 14.2 antes de la 14.2.5 y todas las versiones a partir de la 14.3 antes de la 14.3.1 permite a un atacante ejecutar código JavaScript arbitrario en nombre de la víctima a través de nombres de reglas de aprobación maliciosos

References

Sources

SourceRecordLicence
CVE ListCVE-2021-39885 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-39885 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GITLAB-2021-39885 changed 2026-09-10Apache-2.0