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.
References
Link | Resource |
---|---|
https://github.com/mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab5776d83 | Patch Third Party Advisory |
https://github.com/mermaid-js/mermaid/releases/tag/8.13.8 | Release Notes Third Party Advisory |
https://github.com/mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6v | Third Party Advisory |
https://github.com/mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab5776d83 | Patch Third Party Advisory |
https://github.com/mermaid-js/mermaid/releases/tag/8.13.8 | Release Notes Third Party Advisory |
https://github.com/mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6v | Third Party Advisory |
Configurations
History
21 Nov 2024, 06:29
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab5776d83 - Patch, Third Party Advisory | |
References | () https://github.com/mermaid-js/mermaid/releases/tag/8.13.8 - Release Notes, Third Party Advisory | |
References | () https://github.com/mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6v - Third Party Advisory | |
CVSS |
v2 : v3 : |
v2 : 3.5
v3 : 7.2 |
21 Jul 2023, 16:44
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-79 |
NVD-CWE-Other |
Information
Published : 2021-12-30 14:15
Updated : 2024-11-21 06:29
NVD link : CVE-2021-43861
Mitre link : CVE-2021-43861
CVE.ORG link : CVE-2021-43861
JSON object : View
Products Affected
mermaid_project
- mermaid
CWE
CWE-20
Improper Input Validation
CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
NVD-CWE-Other