CVE-2021-23648

Summary

CVECVE-2021-23648
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-03-16 16:15:00 UTC
Updated2023-11-07 03:30:00 UTC
DescriptionThe package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.

Risk And Classification

Problem Types: CWE-79

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Application Paypal Braintree/sanitize-url All All All All

References

ReferenceSourceLinkTags
Cross-site Scripting (XSS) in @braintree/sanitize-url | CVE-2021-23648 | Snyk MISC snyk.io
[SECURITY] Fedora 35 Update: grafana-7.5.15-2.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 36 Update: grafana-7.5.15-2.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 34 Update: grafana-7.5.15-2.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11 MISC github.com
feat: decode html entities before sanitizing by crookedneighbor · Pull Request #40 · braintree/sanitize-url · GitHub MISC github.com
[SECURITY] Fedora 36 Update: grafana-7.5.15-2.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 34 Update: grafana-7.5.15-2.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
feat: decode html entities before sanitizing by crookedneighbor · Pull Request #40 · braintree/sanitize-url · GitHub MISC github.com
[SECURITY] Fedora 35 Update: grafana-7.5.15-2.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
sanitize-url/index.ts at main · braintree/sanitize-url · GitHub MITRE github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: Bob "Wombat" Hogg

Legacy QID Mappings

  • 160238 Oracle Enterprise Linux Security Update for grafana (ELSA-2022-7519)
  • 160278 Oracle Enterprise Linux Security Update for grafana (ELSA-2022-8057)
  • 180818 Debian Security Update for node-mermaid (CVE-2021-23648)
  • 240850 Red Hat Update for grafana security (RHSA-2022:7519)
  • 240902 Red Hat Update for grafana security (RHSA-2022:8057)
  • 282601 Fedora Security Update for grafana (FEDORA-2022-83405f9d5b)
  • 282602 Fedora Security Update for grafana (FEDORA-2022-9dd03cab55)
  • 940770 AlmaLinux Security Update for grafana (ALSA-2022:7519)
  • 940826 AlmaLinux Security Update for grafana (ALSA-2022:8057)
  • 960182 Rocky Linux Security Update for grafana (RLSA-2022:7519)
  • 960528 Rocky Linux Security Update for grafana (RLSA-2022:8057)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report