CISA list

● npm package

mermaid

Mermaid has 16 security advisories. The newest release any of them names as the fix is 11.16.1.

As of , mermaid has 16 security advisories. The newest release any of them names as the fix is 11.16.1.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 11.0.0-alpha.1 before 11.16.111.16.111 advisories
Before 10.9.810.9.813 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-71439GHSA-rhh3-jpg6-66xhMermaid radar diagrams are vulnerable to DoSModerate severityFrom 11.6.0 before 11.16.111.16.1
CVE-2026-71438GHSA-c4c3-pg64-4m4vMermaid configuration APIs allow prototype pollutionLow severityFrom 11.0.0-alpha.1 before 11.16.1; Before 10.9.810.9.8, 11.16.1
CVE-2026-50159GHSA-6x64-9x62-f2gxMermaid allows CSS injection applying to sibling elements of the diagramModerate severityFrom 11.0.0-alpha.1 before 11.16.1; Before 10.9.810.9.8, 11.16.1
CVE-2026-71437GHSA-3rrr-jr9j-h3q3Mermaid Architecture diagrams are vulnerable to prototype pollutionModerate severityFrom 11.5.0 before 11.16.111.16.1
CVE-2026-71436GHSA-2v8p-3f2j-5mp7Mermaid XY Charts are vulnerable to an infinite loop DoSModerate severityFrom 11.0.0-alpha.1 before 11.16.1; From 10.6.0 before 10.9.810.9.8, 11.16.1
CVE-2026-41159GHSA-87f9-hvmw-gh4pMermaid: Improper sanitization of configuration leads to CSS injectionModerate severityFrom 11.0.0-alpha.1 before 11.15.0; Before 10.9.610.9.6, 11.15.0
CVE-2026-41150GHSA-6m6c-36f7-fhxhMermaid Gantt Charts are vulnerable to an Infinite Loop DoSModerate severityFrom 11.0.0-alpha.1 before 11.15.0; Before 10.9.610.9.6, 11.15.0
CVE-2026-41149GHSA-ghcm-xqfw-q4vrMermaid: Improper sanitization of `classDef` in state diagrams leads to HTML injectionModerate severityFrom 11.0.0-alpha.1 before 11.15.0; Before 10.9.610.9.6, 11.15.0
CVE-2026-41148GHSA-xcj9-5m2h-648rMermaid: Improper sanitization of `classDefs` in diagrams leads to CSS injectionModerate severityFrom 11.0.0-alpha.1 before 11.15.0; Before 10.9.610.9.6, 11.15.0
CVE-2025-54881GHSA-7rqq-prvp-x9jhMermaid improperly sanitizes sequence diagram labels leading to XSSModerate severityFrom 11.0.0-alpha.1 before 11.10.0; From 10.9.0-rc.1 before 10.9.410.9.4, 11.10.0
CVE-2025-54880GHSA-8gwm-58g9-j8pwMermaid does not properly sanitize architecture diagram iconText leading to XSSModerate severityFrom 11.1.0 before 11.10.011.10.0
GHSA-m4gq-x24j-jpmfPrototype pollution vulnerability found in Mermaid's bundled version of DOMPurifyHigh severityBefore 10.9.310.9.3
CVE-2022-31108GHSA-x3vm-38hw-55wfPossible inject arbitrary `CSS` into the generated graph affecting the container HTMLModerate severityFrom 8.0.0 before 9.1.29.1.2
CVE-2021-43861GHSA-p3rp-vmj9-gv6vIncorrect sanitisation function leads to `XSS` in mermaidHigh severityBefore 8.13.88.13.8
CVE-2021-35513GHSA-4f6x-49g2-99fmCross-site Scripting in MermaidModerate severityBefore 8.11.08.11.0
GHSA-w32g-5hqp-gg6qCross-Site Scripting in mermaidHigh severityBefore 8.2.38.2.3

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0