Vulnerability · Published Mar 16, 2022 · Assigned by snyk

CVE-2021-23648Cross-site Scripting (XSS)

Medium 5.4

In plain English

A medium-severity security flaw in @braintree/sanitize-url. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)1.4%top 26.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8grafana7.5.15-3.el8ALSA-2022:7519
AlmaLinux:9grafana7.5.15-3.el9ALSA-2022:8057
Debian:14node-mermaid8.14.0+~cs11.4.14-1DEBIAN-CVE-2021-23648
Rocky Linux:8grafana0:7.5.15-3.el8RLSA-2022:7519
Rocky Linux:9grafana0:7.5.15-3.el9RLSA-2022:8057
Ubuntu:22.04:LTSnode-mermaidno fix listedUBUNTU-CVE-2021-23648
Ubuntu:26.10node-mermaidno fix listedUBUNTU-CVE-2021-23648
npm@braintree/sanitize-url6.0.0GHSA-hqq7-2q2v-82xq

Affected products (as reported)

VendorProductVersions
n/a @braintree/sanitize-url unspecified – before 6.0.0

References