Skip to content
Fencer Vulns
medium 5.4

CVE-2021-23648 json

Cross-site Scripting (XSS)

published 2022-03-16 4 y ago modified 2026-09-10 1 mo ago also GHSA-hqq7-2q2v-82xq , EUVD-2022-1445

cvss
5.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 73%
public exploits
0
none known

Summary

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

Patch / fix

  • npm @braintree/sanitize-url 6.0.0
  • n/a @braintree/sanitize-url 6.0.0
  • node-mermaid Debian 14 8.14.0+~cs11.4.14-1

debian advisories DEBIAN-CVE-2021-23648

  • grafana RHEL 8 7.5.15-3.el8
  • grafana RHEL 9 7.5.15-3.el9

red hat advisories RHSA-2022:7519RHSA-2022:8057

  • grafana AlmaLinux 9 7.5.15-3.el9
  • grafana AlmaLinux 8 7.5.15-3.el8

almalinux advisories ALSA-2022:8057ALSA-2022:7519

  • grafana Rocky Linux 9 7.5.15-3.el9
  • grafana Rocky Linux 8 7.5.15-3.el8

rocky linux advisories RLSA-2022:8057RLSA-2022:7519

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-23648 updated cvss 5.4

sanitize-url: XSS due to improper sanitization in sanitizeUrl function

  • Red Hat OpenShift Service Mesh 2.1 servicemesh-grafana
    affected: no fix planned “Will not fix”
  • Red Hat 3scale API Management Platform 2 3scale-amp2/apicast-rhel7-operator, 3scale-amp2/apicast-rhel7-operator-metadata
    affected: no fix available
  • Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux AppStream (v. 8) grafana 7.5.15-3.el8
    fixed: vendor fix RHSA-2022:7519
  • Red Hat Enterprise Linux AppStream (v. 9) grafana 7.5.15-3.el9
    fixed: vendor fix RHSA-2022:8057
  • Red Hat OpenShift Container Platform 4.11 openshift4/ose-grafana v4.11.0-202208020235.p0.g6773185.assembly.stream
    fixed: vendor fix RHSA-2022:5069
  • Red Hat OpenShift Container Platform 4.11 openshift4/ose-cli v4.11.0-202208020706.p0.g7075089.assembly.stream, openshift4/ose-pod v4.11.0-202208020235.p0.g9546431.assembly.stream, openshift4/ose-etcd v4.11.0-202208020235.p0.g80cc14e.assembly.stream, openshift4/ose-tests v4.11.0-202208020706.p0.gb860532.assembly.stream, openshift4/ose-console v4.11.0-202208021257.p0.ge0d49a2.assembly.stream, openshift4/ose-coredns v4.11.0-202208020235.p0.g7fe212f.assembly.stream, +175 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.43% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • snyk.io https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P
CNA 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
npm @braintree/sanitize-url
<6.0.0
6.0.0

Affected products

  • n/a @braintree/sanitize-url

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.