CVE-2025-54880 Mermaid does not properly sanitize architecture diagram iconText leading to XSS
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
mermaid-js
mermaid
영향 받는 버전
- 11.1.0 이상 11.10.0 미만
해결 버전
- 11.10.0 이상
참고 자료 3건
- github.com https://github.com/mermaid-js/mermaid/commit/2aa83302795183ea5c65caec3da1edd6cb4791fc (새 창)
- github.com https://github.com/mermaid-js/mermaid/commit/734bde38777c9190a5a72e96421c83424442d4e4 (새 창)
- github.com https://github.com/mermaid-js/mermaid/security/advisories/GHSA-8gwm-58g9-j8pw (새 창)