{"id":"EUVD-2025-25190","enisaUuid":"e3f274bc-2fef-3ba8-bdf4-d40f56a8653c","description":"Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. In the default configuration of mermaid 11.9.0 and earlier, user supplied input for architecture diagram icons is passed to the d3 html() method, creating a sink for cross site scripting. This vulnerability is fixed in 11.10.0.","datePublished":"Aug 19, 2025, 4:58:41 PM","dateUpdated":"Aug 19, 2025, 5:09:32 PM","baseScore":5.1,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","references":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-8gwm-58g9-j8pw\nhttps://github.com/mermaid-js/mermaid/commit/2aa83302795183ea5c65caec3da1edd6cb4791fc\nhttps://github.com/mermaid-js/mermaid/commit/734bde38777c9190a5a72e96421c83424442d4e4\n","aliases":"CVE-2025-54880\nGHSA-8gwm-58g9-j8pw\n","assigner":"GitHub_M","epss":0.44,"enisaIdProduct":[{"id":"bb1da6b3-ee90-30d4-8783-714cb9b259e6","product":{"name":"mermaid","vendor":{"name":"mermaid-js"}},"product_version":"11.1.0, \u003c 11.10.0"}],"enisaIdVendor":[{"id":"b7730094-3637-339b-98ee-0e1d852fc852","vendor":{"name":"mermaid-js"}}],"enisaIdVulnerability":[{"id":"7de2e5d1-5c21-3f57-b6ed-d2860bf3b695","vulnerability":{"id":"GHSA-8gwm-58g9-j8pw","description":"Mermaid does not properly sanitize architecture diagram iconText leading to XSS","datePublished":"Aug 19, 2025, 8:16:45 PM","dateUpdated":"Aug 20, 2025, 7:13:27 PM","baseScore":0.0,"references":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-8gwm-58g9-j8pw\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-54880\nhttps://github.com/mermaid-js/mermaid/commit/2aa83302795183ea5c65caec3da1edd6cb4791fc\nhttps://github.com/mermaid-js/mermaid/commit/734bde38777c9190a5a72e96421c83424442d4e4\nhttps://github.com/mermaid-js/mermaid\n","enisa_id":"EUVD-2025-25190\n","aliases":"CVE-2025-54880\nGHSA-8gwm-58g9-j8pw\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:44:06 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"dffcb5bc-9d09-3467-9d83-f0e56b1046fc","vulnerability":{"id":"CVE-2025-54880","description":"Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. In the default configuration of mermaid 11.9.0 and earlier, user supplied input for architecture diagram icons is passed to the d3 html() method, creating a sink for cross site scripting. This vulnerability is fixed in 11.10.0.","datePublished":"Aug 19, 2025, 4:58:41 PM","dateUpdated":"Aug 19, 2025, 5:09:32 PM","status":"PUBLISHED","baseScore":5.1,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","references":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-8gwm-58g9-j8pw\nhttps://github.com/mermaid-js/mermaid/commit/2aa83302795183ea5c65caec3da1edd6cb4791fc\nhttps://github.com/mermaid-js/mermaid/commit/734bde38777c9190a5a72e96421c83424442d4e4\n","enisa_id":"EUVD-2025-25190\n","assigner":"GitHub_M","epss":0.44,"dataProcessed":"Nov 19, 2026, 7:18:01 AM","vulnerabilityProduct":[{"id":"1a8ea3ca-214b-304a-b7ea-3e7c904dce47","product":{"name":"mermaid","vendor":{"name":"mermaid-js"}},"product_version":"11.1.0, \u003c 11.10.0"}],"vulnerabilityVendor":[{"id":"b8266f04-eb4d-3a83-9e2d-172644d920a7","vendor":{"name":"mermaid-js"}}]}}],"enisaIdAdvisory":[]}