cve.bz

CVE-2021-23648 Cross-site Scripting

6.1 mediumExploit referenceEPSS 1.4%Fix available

Medium (6.1). EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in @braintree/sanitize-url 6.0.0.

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

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-23648 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-23648?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-23648?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-23648 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
paypal:braintree/sanitize-urlbefore 6.0.0
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hqq7-2q2v-82xqnpm@braintree/sanitize-url<6.0.06.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14node-mermaid8.14.0+~cs11.4.14-1DEBIAN-CVE-2021-23648
Ubuntu22.04:LTS, 26.10node-mermaidno fix listedUBUNTU-CVE-2021-23648
Red Hatenterprise_linux:8::appstreamgrafana, grafana-debuginfo0:7.5.15-3.el8RHSA-2022:7519
Red Hatenterprise_linux:9::appstreamgrafana, grafana-debuginfo0:7.5.15-3.el9RHSA-2022:8057
AlmaLinux8grafana7.5.15-3.el8ALSA-2022:7519
AlmaLinux9grafana7.5.15-3.el9ALSA-2022:8057
Rocky Linux8grafana0:7.5.15-3.el8RLSA-2022:7519
Rocky Linux9grafana0:7.5.15-3.el9RLSA-2022:8057

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8grafana-0:7.5.15-3.el8Fixed 2022-11-08RHSA-2022:7519
Red Hat Enterprise Linux 9grafana-0:7.5.15-3.el9Fixed 2022-11-15RHSA-2022:8057
Red Hat OpenShift Container Platform 4.11openshift4/ose-grafana:v4.11.0-202208020235.p0.g6773185.assembly.streamFixed 2022-08-10RHSA-2022:5069
OpenShift Service Mesh 2.1servicemesh-grafanaWill not fix
Red Hat 3scale API Management Platform 23scale-amp2/apicast-rhel7-operatorAffected
Red Hat 3scale API Management Platform 23scale-amp2/apicast-rhel7-operator-metadataAffected
Red Hat Ceph Storage 5rhceph/rhceph-5-dashboard-rhel8Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-23648.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON