Vulnerability 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
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gitlab | Gitlab | >= 11.4.0, < 13.12.9 |
Related Weaknesses (CWE)
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 RequiredThird 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 RequiredThird Party Advisory
FAQ
What is CVE-2021-22242?
CVE-2021-22242 is a vulnerability with a CVSS score of 8.7 (HIGH). 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
How severe is CVE-2021-22242?
CVE-2021-22242 has been rated HIGH with a CVSS base score of 8.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-22242?
Check the references section above for vendor advisories and patch information. Affected products include: Gitlab Gitlab.