High severity8.7NVD Advisory· Published Aug 25, 2021· Updated Jun 17, 2026
CVE-2021-22242
CVE-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 products
5cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*+ 2 more
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*range: >=11.4.0,<13.12.9
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*range: >=11.4.0,<13.12.9
- (no CPE)range: >=11.4, <13.12.9
- Range: >=11.4
Patches
Vulnerability mechanics
References
3- gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.jsonnvdVendor Advisory
- hackerone.com/reports/1212822nvdPermissions RequiredThird Party Advisory
- gitlab.com/gitlab-org/gitlab/-/issues/332528nvdBroken Link
News mentions
0No linked articles in our index yet.