{"id":"UBUNTU-CVE-2021-35513","details":"Mermaid before 8.11.0 allows XSS when the antiscript feature is used.","modified":"2025-09-08T16:47:14Z","published":"2021-06-27T12:15:00Z","upstream":["CVE-2021-35513"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-35513"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/issues/2122"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/pull/2123"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/releases/tag/8.11.0-rc2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-35513"}],"affected":[{"package":{"name":"node-mermaid","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-mermaid@8.13.8+~cs10.4.16-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.7.0+ds+~cs27.17.17-3","8.13.3+ds+~cs26.13.21-1","8.13.3+ds+~cs26.13.21-2","8.13.8+~cs10.4.16-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-mermaid","binary_version":"8.13.8+~cs10.4.16-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-35513.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}