CVE-2025-54881 Mermaid improperly sanitizes of sequence diagram labels 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 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.
영향 받는 제품 제품 1개
-
mermaid-js
mermaid
영향 받는 버전
- 10.9.0-rc.1 이상 11.9.0 이하
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 1개
-
해결 버전 있음
npm · mermaid
영향 받는 버전 · 해결 버전
- 영향 10.9.0-rc.1 이상 10.9.4 미만 · 해결 10.9.4 이상
- 영향 11.0.0-alpha.1 이상 11.10.0 미만 · 해결 11.10.0 이상
출처: GitHub Advisory Database · CC-BY 4.0
참고 자료 3건
- github.com https://github.com/mermaid-js/mermaid/commit/5c69e5fdb004a6d0a2abe97e23d26e223a059832 (새 창)
- github.com https://github.com/mermaid-js/mermaid/commit/685516a85ec1df64cefd4fd15f26533be87d458e (새 창)
- github.com https://github.com/mermaid-js/mermaid/security/advisories/GHSA-7rqq-prvp-x9jh (새 창)