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-25904 Vulnerability in npm package safe-eval
CVE-2021-21169 Vulnerability in npm package electron
CVE-2020-36649 Vulnerability in maven package org.webjars.bower:papaparse
CVE-2019-10294 Vulnerability in maven package org.jenkins-ci.plugins:kmap-jenkins
CVE-2022-31195 Vulnerability in maven package org.dspace:dspace-api