CVE-2021-39885

MediumCVSS 5.4/10Last modified Jun 17, 2026

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

Metrics

CVSS 3.1 5.4/10CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Oct 4, 2021
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-398864.3Permissions rules were not applied while issues were moved between projects of the same group in GitLab versions starting with 10.6 and up tCVE-2021-398875.4A stored Cross-Site Scripting vulnerability in the GitLab Flavored Markdown in GitLab CE/EE version 8.4 and above allowed an attacker to exeCVE-2021-398884.3In all versions of GitLab EE starting from 13.10 before 14.1.7, all versions starting from 14.2 before 14.2.5, and all versions starting froCVE-2021-398894.3In all versions of GitLab EE since version 14.1, due to an insecure direct object reference vulnerability, an endpoint may reveal the protecCVE-2021-39896.1showdoc is vulnerable to URL Redirection to Untrusted SiteCVE-2021-398909.8It was possible to bypass 2FA for LDAP users and access some specific pages with Basic Authentication in GitLab 14.1.1 and above.CVE-2021-398914.9In all versions of GitLab CE/EE since version 8.0, access tokens created as part of admin's impersonation of a user are not cleared at the eCVE-2021-398924.3In all versions of GitLab CE/EE since version 12.0, a lower privileged user can import users from projects that they don't have a maintainerCVE-2021-398937.5A potential DOS vulnerability was discovered in GitLab starting with version 9.1 that allowed parsing files without authorisation.CVE-2021-398945.4In all versions of GitLab CE/EE since version 8.0, a DNS rebinding vulnerability exists in Fogbugz importer which may be used by attackers tCVE-2021-398954.5In all versions of GitLab CE/EE since version 8.0, an attacker can set the pipeline schedules to be active in a project export so when an unCVE-2021-398963.8In all versions of GitLab CE/EE since version 8.0, when an admin uses the impersonate feature twice and stops impersonating, the admin may b
CVE-2021-39885: Medium severity, CVSS 5.4 | Vulnix