CVE-2021-39887

MediumCVSS 5.4/10Last modified Jun 17, 2026

Description

A stored Cross-Site Scripting vulnerability in the GitLab Flavored Markdown in GitLab CE/EE version 8.4 and above allowed an attacker to execute arbitrary JavaScript code on the victim's behalf.

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 5, 2021
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-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 bCVE-2021-398975.3Improper access control in GitLab CE/EE version 10.5 and above allowed subgroup members with inherited access to a project from a parent groCVE-2021-398985.3In all versions of GitLab CE/EE since version 10.6, a project export leaks the external webhook token value which may allow access to the pr
CVE-2021-39887: Medium severity, CVSS 5.4 | Vulnix