{"id":"CVE-2021-35513","aliases":["GHSA-4f6x-49g2-99fm"],"url":"https://o3.security/vulnerability/CVE-2021-35513","summary":"Cross-site Scripting in Mermaid","details":"Mermaid before 8.11.0 allows XSS when the antiscript feature is used.","published":"2021-06-27T12:15:08.100Z","modified":"2026-08-07T16:57:54.342614Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.01018,"percentile":0.60729,"asOf":"2026-08-25"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"mermaid","fixedVersion":"8.11.0"}],"fix":{"url":"https://github.com/mermaid-js/mermaid/pull/2123","label":"mermaid-js/mermaid#2123"},"references":[{"type":"ADVISORY","url":"https://github.com/mermaid-js/mermaid/issues/2122"},{"type":"ADVISORY","url":"https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2"},{"type":"FIX","url":"https://github.com/mermaid-js/mermaid/pull/2123"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T16:57:54.342614Z"}}