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
Metrics
CVSS 3.1 5.4/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| GitLab | GitLab | >=11.4, <13.12.9; >=14.0, <14.0.7; >=14.1, <14.1.2 |
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.jsonVendor Advisory
- https://gitlab.com/gitlab-org/gitlab/-/issues/332528Broken Link
- https://hackerone.com/reports/1212822Permissions Required, Third Party Advisory
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.jsonVendor Advisory
- https://gitlab.com/gitlab-org/gitlab/-/issues/332528Broken Link
- https://hackerone.com/reports/1212822Permissions Required, Third Party Advisory
Timeline
- Published
- Aug 25, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified