{"cve":"CVE-2021-35513","nvd":{"published":"2021-06-27T12:15:08.100","modified":"2026-06-17T03:57:36.537","status":"Modified","description":"Mermaid before 8.11.0 allows XSS when the antiscript feature is used.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"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","https://github.com/mermaid-js/mermaid/issues/2122","https://github.com/mermaid-js/mermaid/pull/2123"],"products":["mermaid_project:mermaid"],"source":"nvd","synced_at":"2026-10-19T21:20:07.141963181+00:00"},"epss":{"cve":"CVE-2021-35513","score":0.01018,"percentile":0.63364,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4f6x-49g2-99fm","url":"https://osv.dev/vulnerability/GHSA-4f6x-49g2-99fm","summary":"Cross-site Scripting in Mermaid","modified":"2023-11-08T04:06:10.132342Z","packages":[{"ecosystem":"npm","name":"mermaid","purl":"pkg:npm/mermaid","ranges":["<8.11.0"],"fixed":["8.11.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}