VDB
CVE-2021-22242
CVE-2021-22242
PUBLISHED
CVSS 8.7 HIGH
Reported by gitlab · Published August 25, 2021
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gitlab | Bitnami | 14.1.2, 14.0.7, 13.12.9 |
| gitlab | Bitnami | 14.1.2, 14.0.7, 13.12.9 |
| gitlab | gitlab | 14.1.2, 14.0.7, 13.12.9 |
Risk scores
CVSS 3.1
8.7
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| GitLab | GitLab | >=11.4, <13.12.9, >=14.0, <14.0.7, >=14.1, <14.1.2 |
| GitLab | GitLab | 11.4, 14.0, 14.1 |
Timeline
- Jul 1, 2021 CVE Published
- Aug 25, 2021 PoC Published
- Aug 26, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Jun 1, 2026 Security Advisory
- Aug 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-22242
vulnetix vdb fixes CVE-2021-22242
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22242/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart