MEDIUM
CVE-2020-13262
CVSS
6.1
Description
Client-Side code injection through Mermaid markup in GitLab CE/EE 12.9 and later through 13.0.1 allows a specially crafted Mermaid payload to PUT requests on behalf of other users via clicking on a link
Summary dbcve.org
GitLab CE/EE versions 12.9 through 13.0.1 are vulnerable to client-side code injection via Mermaid markup. Attackers can craft malicious Mermaid diagram definitions that, when rendered and clicked by a victim, trigger unauthorized PUT requests on behalf of that user. This is a CSRF-like attack leveraging the Mermaid diagram rendering component.
Mitigation
Upgrade GitLab to version 13.0.2 or later. As a workaround, disable Mermaid diagram rendering in affected repositories until the upgrade can be applied.
Weakness (CWE)
CWE-74
Injection
EPSS Score
0.87%
Probability of exploitation in next 30 days
57.3th percentile
References
Base CVE data derived from NVD (public domain). Enrichment by
dbcve.org
(CC-BY-4.0). Fetched via API.