CVE-2021-22242
lowpriority · track · 44EPSS 0.636 · 99 %ileEURUUSEPSS · scored 2026-10-27
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
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 3.5–8.7
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (12)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- BIT-gitlab-2021-222422024-03-06vendor · osvUS
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
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.jsoncnnvd
- https://gitlab.com/gitlab-org/gitlab/-/issues/332528cnnvd
- https://hackerone.com/reports/1212822cnnvd
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.jsonenisa_euvd
- https://gitlab.com/gitlab-org/gitlab/-/issues/332528enisa_euvd
- https://hackerone.com/reports/1212822enisa_euvd
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22242.jsonVendor Advisorynvd
- https://gitlab.com/gitlab-org/gitlab/-/issues/332528Broken Linknvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan