Description
Mermaid before 8.11.0 allows XSS when the antiscript feature is used.
Recommendation
Update the mermaid package to the latest compatible version. Followings are version details:
- Affected version(s): < 8.11.0
- Patched version(s): 8.11.0
References
Related Issues
- Cross-site Scripting in sanitize-url - CVE-2021-23648
- beautiful-mermaid contains an SVG attribute injection issue that can lead to cross-site scripting (XSS) - CVE-2026-26226
- Cross site scripting in datatables.net - CVE-2021-23445
- Cross-site Scripting in bootstrap-table - bootstrap-table - CVE-2021-23472
You might also like:
- Tags:
- npm
- mermaid
Anything's wrong? Let us know Last updated on February 01, 2023


