Cross-site Scripting (XSS) Affecting node-mermaid package, versions <8.7.0+ds+~cs27.17.17-3


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.02% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-NODEMERMAID-18023065
  • published20 Jul 2026
  • disclosed27 Jun 2021

Introduced: 27 Jun 2021

CVE-2021-35513  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:14 node-mermaid to version 8.7.0+ds+~cs27.17.17-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-mermaid package and not the node-mermaid package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

Mermaid before 8.11.0 allows XSS when the antiscript feature is used.

CVSS Base Scores

version 3.1