Description
Mermaid before 8.11.0 allows XSS when the antiscript feature is used.
Remediation
References
https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2
https://github.com/mermaid-js/mermaid/pull/2123
https://github.com/mermaid-js/mermaid/issues/2122
Related Vulnerabilities
CVE-2022-25901 Vulnerability in npm package cookiejar
CVE-2020-11996 Vulnerability in maven package org.apache.tomcat:tomcat-coyote
CVE-2020-13934 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2022-23494 Vulnerability in npm package tinymce
CVE-2023-40014 Vulnerability in npm package @openzeppelin/contracts-upgradeable