CVE-2021-22242
high · 8.7Insufficient 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
8.7
CVSS
63.6%
EPSS (exploit prob.)
99th
EPSS percentile
2021-08-25
Published
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Weaknesses
CWE-79
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| gitlab | gitlab | >= 11.4.0, < 13.12.9 |
| gitlab | gitlab | >= 11.4.0, < 13.12.9 |
| gitlab | gitlab | >= 14.0.0, < 14.0.7 |
| gitlab | gitlab | >= 14.0.0, < 14.0.7 |
| gitlab | gitlab | >= 14.1.0, < 14.1.2 |
| gitlab | gitlab | >= 14.1.0, < 14.1.2 |
Check a specific version with /api/v1/cve/match.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/332528
- https://hackerone.com/reports/1212822
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/332528
- https://hackerone.com/reports/1212822
Query this programmatically:
curl https://evil-db.io/api/v1/cve/CVE-2021-22242