XSS in Mermaid-Js Mermaid
CVE-2021-43861
Mermaid is a Javascript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. Prior to version 8.13.8, malicious diagrams can run javascript code at diagram readers' machines. Users should upgrade to version 8.13.8 to receive a patch. There are no known workarounds aside from upgrading.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.009 (60.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 61st percentile — 60.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: +0.000
Affected products
- Mermaid-Js Mermaid — versions < 8.13.8
- Mermaid Project
Weakness classification (CWE)
References
- github.com/mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6v (Third Party Advisory)
- github.com/mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab5776d83 (Patch, Third Party Advisory)
- github.com/mermaid-js/mermaid/releases/tag/8.13.8 (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2021-43861?
- CVE-2021-43861 is a high-severity vulnerability in Mermaid-Js Mermaid, classified under Improper Input Validation. CVSS score: 7.2/10. Published 2021-12-30.
- How severe is CVE-2021-43861?
- High severity. CVSS v3 base score is 7.2 out of 10.