GHSA-4f6x-49g2-99fm
Cross-site Scripting in Mermaid
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
Mermaid before 8.11.0 allows XSS when the antiscript feature is used.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2021-35513
- https://github.com/mermaid-js/mermaid/issues/2122
- https://github.com/mermaid-js/mermaid/pull/2123
- https://github.com/mermaid-js/mermaid/pull/2123/commits/3d22fa5d2435de5acc18de6f88474a6e8675a60e
- https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2