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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.43% (72nd 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-DEBIAN11-NODEMERMAID-2430405
  • published21 Mar 2022
  • disclosed16 Mar 2022

Introduced: 16 Mar 2022

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

How to fix?

Upgrade Debian:11 node-mermaid to version 8.7.0+ds+~cs27.17.17-3+deb11u1 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:11 relevant fixed versions and status.

The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.

CVSS Base Scores

version 3.1