CVE Vulnerabilities

CVE-2020-13262

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Published: Jun 19, 2020 | Modified: Jul 21, 2021
CVSS 3.x
6.1
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

Client-Side code injection through Mermaid markup in GitLab CE/EE 12.9 and later through 13.0.1 allows a specially crafted Mermaid payload to PUT requests on behalf of other users via clicking on a link

Weakness

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Affected Software

Name Vendor Start Version End Version
Gitlab Gitlab 12.9.0 (including) 12.9.8 (excluding)
Gitlab Gitlab 12.10.0 (including) 12.10.7 (excluding)
Gitlab Gitlab 13.0.0 (including) 13.0.0 (including)
Gitlab Ubuntu esm-apps/xenial *
Gitlab Ubuntu xenial *

Potential Mitigations

References