{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-35513","published":"2021-06-27T12:15:08.100000Z","last_modified":"2026-06-17T03:57:36.537000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:mermaid_project:mermaid:*:*:*:*:*:node.js:*:*","part":"a","vendor":"mermaid_project","product":"mermaid","version_end_excluding":"8.11.0"}],"cpes_truncated":false,"vendors":["mermaid_project"],"products":["mermaid_project/mermaid"],"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4f6x-49g2-99fm","ecosystem":"npm","name":"mermaid","purl":"pkg:npm/mermaid","ranges":[{"introduced":"0","fixed":"8.11.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-35513/","html_en":"/en/cve/CVE-2021-35513/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-35513","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-35513"},"untrusted":{"vendor_name":"Mermaid Project","product_name":"Mermaid","desc_en":"Mermaid before 8.11.0 allows XSS when the antiscript feature is used.","affected":[],"references":[{"url":"https://github.com/mermaid-js/mermaid/issues/2122","tags":["Third Party Advisory"]},{"url":"https://github.com/mermaid-js/mermaid/pull/2123","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2","tags":["Release Notes","Third Party Advisory"]}]}}