{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/41937?format=json","vulnerability_id":"VCID-13vt-jvny-8yej","summary":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nMermaid is a Javascript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams., malicious diagrams can run javascript code at diagram readers' machines. Users should upgrade to to receive a patch. There are no known workarounds aside from upgrading.","aliases":[{"alias":"CVE-2021-43861"},{"alias":"GHSA-p3rp-vmj9-gv6v"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/59917?format=json","purl":"pkg:npm/mermaid@8.13.8","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/mermaid@8.13.8"}],"affected_packages":[],"references":[{"reference_url":"https://github.com/mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab5776d83","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/mermaid-js/mermaid/commit/066b7a0d0bda274d94a2f2d21e4323dab5776d83"},{"reference_url":"https://github.com/mermaid-js/mermaid/releases/tag/8.13.8","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/mermaid-js/mermaid/releases/tag/8.13.8"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43861","reference_id":"CVE-2021-43861","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43861"},{"reference_url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6v","reference_id":"GHSA-p3rp-vmj9-gv6v","reference_type":"","scores":[],"url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-p3rp-vmj9-gv6v"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-13vt-jvny-8yej"}