{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-54881","published":"2025-08-19T17:15:41.247000Z","last_modified":"2026-06-17T09:40:51.563000Z","status":"Deferred","cvss":{"version":"4.0","score":5.3,"severity":"MEDIUM","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["mermaid-js"],"products":["mermaid-js/mermaid"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-7rqq-prvp-x9jh","ecosystem":"npm","name":"mermaid","purl":"pkg:npm/mermaid","ranges":[{"introduced":"11.0.0-alpha.1","fixed":"11.10.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-7rqq-prvp-x9jh","ecosystem":"npm","name":"mermaid","purl":"pkg:npm/mermaid","ranges":[{"introduced":"10.9.0-rc.1","fixed":"10.9.4"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-54881/","html_en":"/en/cve/CVE-2025-54881/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-54881","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-54881"},"untrusted":{"vendor_name":"mermaid-js","product_name":"mermaid","desc_en":"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.","affected":[{"untrusted_vendor":"mermaid-js","untrusted_product":"mermaid","versions":[]}],"references":[{"url":"https://github.com/mermaid-js/mermaid/commit/5c69e5fdb004a6d0a2abe97e23d26e223a059832","tags":[]},{"url":"https://github.com/mermaid-js/mermaid/commit/685516a85ec1df64cefd4fd15f26533be87d458e","tags":[]},{"url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-7rqq-prvp-x9jh","tags":[]}]}}