CVE-2021-22242
published high CVSS 3.1 · 8.7GitLab vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitLab | — | GitLab>=11.4, <13.12.9 · >=14.0, <14.0.7 · >=14.1, <14.1.2 | Affected | Not stated | GitLab |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitLab · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitLab | GitLab | >=11.4, <13.12.9 (affected)>=14.0, <14.0.7 (affected)>=14.1, <14.1.2 (affected) | GitLab · cna |
Weaknesses
1- Improper neutralization of input during web page generation ('cross-site scripting') in GitLab
References
3Provider assertions
2GitLab · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bf5e48b2bade52c736542a45c0e81bf25ea7d33917cbdf1e8c28be2ad5a7f045
- Ingested
- 23 Sep 2026, 07:52:37 UTC
- Source record
- Official CVE record