Incorrect sanitisation function leads to `XSS` in mermaid
### Impact Malicious diagrams can contain javascript code that can be run at diagram readers machines. ### Patches The users should upgrade to version 8.13.8 ### Workarounds You need to upgrade in order to avoid this issue.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2021-43861US | medium5.4 | — | ||
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… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/mermaid-js/mermaidPACKAGE
- https://github.com/mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab5776d83WEB
- https://github.com/mermaid-js/mermaid/releases/tag/8.13.8WEB
- https://github.com/mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6vWEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43861ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan