{"id":"CVE-2021-35513","published":"2021-06-27T11:03:30Z","modified":"2024-08-04T00:40:47Z","title":"Mermaid before 8.11.0 allows XSS when the antiscript feature is used","vendor":null,"product":null,"tier":"tail","description":{"text":"Mermaid before 8.11.0 allows XSS when the antiscript feature is used.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01018,"percentile":0.64174,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/mermaid-js/mermaid/issues/2122","tags":["x_refsource_MISC"]},{"url":"https://github.com/mermaid-js/mermaid/pull/2123","tags":["x_refsource_MISC"]},{"url":"https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":12.83}]},"affected":[{"ecosystem":"npm","package":"mermaid","vulnerableRanges":["<8.11.0"],"patched":["8.11.0"],"from":["GHSA-4f6x-49g2-99fm"],"provenance":"source"}],"summary":{"text":"Mermaid, the JavaScript diagramming library, contains a flaw in its handling of the antiscript feature that allows cross-site scripting in versions before 8.11.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:11Z"},"euvd":{"id":"EUVD-2021-2437","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-35513","published":"2021-06-27","fixed":"8.11.0","kev":false},{"cve":"CVE-2021-43861","published":"2021-12-30","fixed":"8.13.8","kev":false,"link":{"from":"CVE-2021-35513","to":"CVE-2021-43861","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:mermaid","fromFixed":"8.11.0","toFixed":"8.13.8","daysApart":186}]}},{"cve":"CVE-2022-31108","published":"2022-06-28","fixed":"9.1.2","kev":false},{"cve":"CVE-2025-54880","published":"2025-08-19","fixed":"11.10.0","kev":false}],"package":"npm:mermaid"}}