CVE-2022-0691
JavaScript vulnerability analysis and mitigation

Overview

CVE-2022-0691 is an authorization bypass vulnerability discovered in NPM url-parse versions prior to 1.5.9. The vulnerability was identified and disclosed on February 21, 2022. The flaw affects the url-parse Node.js module, which is used to parse URLs. The vulnerability allows attackers to bypass authorization controls through user-controlled keys (NVD, CVE).

Technical details

The vulnerability occurs when the URL contains a backspace (\b) character, which tricks the parser into interpreting the URL as a relative path, bypassing all hostname checks. This can also lead to false positives in the extractProtocol() function. The vulnerability has received a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating a critical severity level with potential for high impact on confidentiality, integrity, and availability (NetApp Advisory, NVD).

Impact

Successful exploitation of this vulnerability could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). The vulnerability could result in authorization bypass, potentially allowing attackers to bypass security controls and access restricted resources (NetApp Advisory).

Mitigation and workarounds

The primary mitigation is to upgrade url-parse to version 1.5.9 or later, which contains the security fix. The fix involves modifying how the parser handles control characters at the beginning of URLs. A patch was implemented to strip all control characters from the beginning of the URL (GitHub Patch).

Community reactions

Multiple organizations have responded to this vulnerability by issuing security advisories and patches. Debian released security updates (DLA 3336-1) to address this vulnerability, and NetApp has conducted comprehensive assessments of their products to determine impact and necessary remediation steps (Debian Advisory, NetApp Advisory).

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-65959HIGH8.7
  • JavaScriptJavaScript
  • open-webui
NoYesDec 04, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-65945HIGH7.5
  • JavaScriptJavaScript
  • jws
NoYesDec 04, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 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