CVE-2021-22242
JSON

8.7high

Insufficient input sanitization in Mermaid markdown in GitLab CE/EE version 11.4 and up allows an attacker to exploit a stored cross-site s…

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

Description

Insufficient input sanitization in Mermaid markdown in GitLab CE/EE version 11.4 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted markdown

Affected

Product or packageVersionsReported by
GitLab GitLab>=11.4, <13.12.9, >=14.0, <14.0.7, >=14.1, <14.1.2, from 11.4.0 before 13.12.9, from 14.0.0 before 14.0.7, from 14.1.0 before 14.1.2CVE List, NVD
gitlab (Bitnami)from 11.4.0 before 13.12.9, from 14.0.0 before 14.0.7, from 14.1.0 before 14.1.2Bitnami 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

Insufficient input sanitization in Mermaid markdown in GitLab CE/EE version 11.4 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted markdown

NVD (es)

Un saneo de entradas insuficiente en el markdown de Mermaid en GitLab CE/EE versión 11.4 y superiores, permite a un atacante explotar una vulnerabilidad de tipo cross-site scripting almacenado por medio de un markdown especialmente diseñado

References

Sources

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