Mermaid before 8.11.0 allows XSS when the antiscript feature is used.
{
"nvd_published_at": "2021-06-27T12:15:00Z",
"severity": "MODERATE",
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2021-06-28T18:34:26Z"
}