CVE-2022-48345
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability CVE-2022-48345 affects sanitize-url (also known as @braintree/sanitize-url) versions before 6.0.2. This security issue was disclosed on February 24, 2023, and involves a Cross-Site Scripting (XSS) vulnerability that can be exploited via HTML entities (NVD, CVE).

Technical details

The vulnerability has a CVSS v3.1 Base Score of 6.1 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. The issue specifically involves improper sanitization of URLs that contain HTML entities, which could lead to XSS attacks. The vulnerability affects the URL sanitization process where HTML-encoded characters, particularly colons and tabs, were not properly handled (GitHub Patch).

Impact

The vulnerability allows attackers to potentially execute cross-site scripting (XSS) attacks through URLs containing HTML entities. This could lead to limited impact on confidentiality and integrity of the affected systems, though there is no impact on system availability (NVD).

Mitigation and workarounds

The vulnerability has been fixed in version 6.0.2 of the sanitize-url package. Users are advised to upgrade to this version or later to mitigate the security risk. The fix includes improvements to handle HTML-encoded characters and proper sanitization of malicious URLs (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-14284MEDIUM5.1
  • JavaScriptJavaScript
  • @tiptap/extension-link
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management