{"id":"EUVD-2022-0654","revision":"2fdfe7e29f634e3bbea33fb0f5281436","records":[{"revision":"2fdfe7e29f634e3bbea33fb0f5281436","observedAt":"2026-11-18T01:47:56.025+00:00","statement":{"source":"euvd","id":"EUVD-2022-0654","aliases":["CVE-2021-43861","GHSA-p3rp-vmj9-gv6v"],"title":"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 re…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"severity":null}],"references":["https://github.com/mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6v","https://github.com/mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab5776d83","https://github.com/mermaid-js/mermaid/releases/tag/8.13.8"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-0654","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Dec 30, 2021, 1:40:11 PM","dateUpdated":"Aug 4, 2024, 4:10:17 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2022-0654","identifiers":["EUVD-2022-0654","CVE-2021-43861","GHSA-p3rp-vmj9-gv6v"]},"retained":false,"historicalAffected":[]}],"coverage":[]}