npm package report

Is mermaid safe?

mermaid (npm) has 16 known vulnerabilities, the worst rated HIGH. Upgrade to 11.16.1 or later to clear all of them. No malicious-package signal is recorded.

// reach

22 direct dependencies

4 carry known advisories, worst CRITICAL

14 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


cvss
7.0
high

CVSS v3.1 base score out of 10

epss
not scored

chance of exploitation in 30 days

xyz score
4.2
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-m4gq-x24j-jpmf, the advisory selected below

// 16 advisories

GHSA-m4gq-x24j-jpmf

HIGHGitHub rating

The following bundled files within the Mermaid NPM package contain a bundled version of DOMPurify that is vulnerable to…

Full advisory text at GitHub advisory.

// cvss v3.1 vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
Low
// questions
Is mermaid safe to install?

CyberXYZ does not call a package safe in absolute terms. It records 16 known vulnerabilities for mermaid (npm), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.

Does mermaid have known vulnerabilities?

Yes. CyberXYZ records 16 known vulnerabilities for mermaid (npm), the worst rated HIGH. These include GHSA-m4gq-x24j-jpmf, GHSA-p3rp-vmj9-gv6v, GHSA-w32g-5hqp-gg6q, GHSA-rhh3-jpg6-66xh, GHSA-6x64-9x62-f2gx.

Which version of mermaid should I use?

11.16.1 or later clears every advisory recorded for mermaid (npm). Check the release you pick before installing it.

How do I check mermaid before installing?

Search mermaid in CyberXYZ Check at https://cyberxyz.io/check?q=mermaid. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


Checked 2026-11-14 at 11:21 UTC. The most recent advisory here was published 2026-08-06. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.