mermaid-js vulnerabilities

14 published CVE records name mermaid-js as the vendor of an affected product, as the CNA wrote it.

Products

CVE records

CVETitleCVSSEPSSPublished
CVE-2026-71439 Mermaid radar diagrams are vulnerable to DoS 5.3 medium 0.43% 6 Aug 2026
CVE-2026-71438 Mermaid configuration APIs allow prototype pollution 2.4 low 0.20% 6 Aug 2026
CVE-2026-50159 Mermaid allows CSS injection applying to sibling elements of the diagram 5.3 medium 0.61% 6 Aug 2026
CVE-2026-71437 Mermaid Architecture diagrams are vulnerable to prototype pollution 6.5 medium 0.43% 6 Aug 2026
CVE-2026-71436 Mermaid XY Charts are vulnerable to an infinite loop DoS 5.3 medium 0.41% 6 Aug 2026
CVE-2026-41150 Mermaid Gantt Charts are vulnerable to an Infinite Loop DoS 5.3 medium 0.38% 29 May 2026
CVE-2026-41159 Mermaid: Improper sanitization of configuration leads to CSS injection 5.3 medium 0.49% 29 May 2026
CVE-2026-41149 Mermaid: Improper sanitization of `classDef` in state diagrams leads to HTML injection 5.3 medium 0.40% 22 May 2026
CVE-2026-41148 Mermaid: Improper sanitization of `classDefs` in diagrams leads to CSS injection 5.3 medium 0.34% 22 May 2026
CVE-2025-54881 Mermaid improperly sanitizes of sequence diagram labels leading to XSS 5.3 medium 0.93% 19 Aug 2025
CVE-2025-54880 Mermaid does not properly sanitize architecture diagram iconText leading to XSS 5.1 medium 0.47% 19 Aug 2025
CVE-2024-38527 Cross-site Scripting in ZenUML 5.4 medium 0.38% 26 Jun 2024
CVE-2022-31108 Arbitrary `CSS` injection into the generated graph affecting the container HTML in mermaid.js 4.1 medium 0.93% 28 Jun 2022
CVE-2021-43861 Incorrect sanitisation function leads to `XSS` 7.2 high 0.94% 30 Dec 2021