Description
Mermaid before 8.11.0 allows XSS when the antiscript feature is used.
Remediation
References
https://github.com/mermaid-js/mermaid/issues/2122
https://github.com/mermaid-js/mermaid/pull/2123
https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2
Related Vulnerabilities
CVE-2021-23373 Vulnerability in npm package set-deep-prop
CVE-2019-10460 Vulnerability in maven package org.jenkins-ci.plugins:bitbucket-oauth
CVE-2022-42743 Vulnerability in npm package deep-parse-json
CVE-2020-27219 Vulnerability in maven package org.eclipse.hawkbit:hawkbit-update-server
CVE-2017-1000209 Vulnerability in maven package com.neovisionaries:nv-websocket-client