{"id":"EUVD-2025-28574","enisaUuid":"3d4fb146-8fad-3f91-809b-3c3332747b59","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 10.9.0-rc.1 to 11.9.0, user supplied input for sequence diagram labels is passed to innerHTML during calculation of element size, causing XSS.","datePublished":"Aug 19, 2025, 5:04:29 PM","dateUpdated":"Aug 19, 2025, 6:14:04 PM","baseScore":5.3,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","references":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-7rqq-prvp-x9jh\nhttps://github.com/mermaid-js/mermaid/commit/5c69e5fdb004a6d0a2abe97e23d26e223a059832\nhttps://github.com/mermaid-js/mermaid/commit/685516a85ec1df64cefd4fd15f26533be87d458e\n","aliases":"CVE-2025-54881\nGHSA-7rqq-prvp-x9jh\n","assigner":"GitHub_M","epss":0.86,"enisaIdProduct":[{"id":"08f66f6a-a875-3b3f-96b5-2507e6bd292a","product":{"name":"mermaid","vendor":{"name":"mermaid-js"}},"product_version":"10.9.0-rc.1, ≤ 11.9.0"}],"enisaIdVendor":[{"id":"63bbe93a-2b9b-393c-b256-c932021f16ae","vendor":{"name":"mermaid-js"}}],"enisaIdVulnerability":[{"id":"0b31b051-faf1-3091-8f12-4b40b5a6fcc1","vulnerability":{"id":"GHSA-7rqq-prvp-x9jh","description":"Mermaid improperly sanitizes sequence diagram labels leading to XSS","datePublished":"Aug 19, 2025, 8:16:58 PM","dateUpdated":"Aug 22, 2025, 10:52:04 PM","baseScore":0.0,"references":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-7rqq-prvp-x9jh\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-54881\nhttps://github.com/mermaid-js/mermaid/commit/5c69e5fdb004a6d0a2abe97e23d26e223a059832\nhttps://github.com/mermaid-js/mermaid/commit/685516a85ec1df64cefd4fd15f26533be87d458e\nhttps://github.com/mermaid-js/mermaid\n","enisa_id":"EUVD-2025-28574\n","aliases":"CVE-2025-54881\nGHSA-7rqq-prvp-x9jh\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:44:06 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"f51a5d95-1ee9-35bb-83a6-5bab89d044ff","vulnerability":{"id":"CVE-2025-54881","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 10.9.0-rc.1 to 11.9.0, user supplied input for sequence diagram labels is passed to innerHTML during calculation of element size, causing XSS.","datePublished":"Aug 19, 2025, 5:04:29 PM","dateUpdated":"Aug 19, 2025, 6:14:04 PM","status":"PUBLISHED","baseScore":5.3,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","references":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-7rqq-prvp-x9jh\nhttps://github.com/mermaid-js/mermaid/commit/5c69e5fdb004a6d0a2abe97e23d26e223a059832\nhttps://github.com/mermaid-js/mermaid/commit/685516a85ec1df64cefd4fd15f26533be87d458e\n","enisa_id":"EUVD-2025-28574\n","assigner":"GitHub_M","epss":0.86,"dataProcessed":"Nov 19, 2026, 7:18:01 AM","vulnerabilityProduct":[{"id":"757c18e5-984c-34a5-8b00-518501e6ada3","product":{"name":"mermaid","vendor":{"name":"mermaid-js"}},"product_version":"10.9.0-rc.1, ≤ 11.9.0"}],"vulnerabilityVendor":[{"id":"76b29cd3-702e-350b-9cb3-7e3fb3fcb477","vendor":{"name":"mermaid-js"}}]}}],"enisaIdAdvisory":[]}