CVE-2022-0155
JavaScript vulnerability analysis and mitigation

Overview

CVE-2022-0155 affects the follow-redirects package and involves the exposure of private personal information to unauthorized actors. The vulnerability was discovered in January 2022 and impacts systems using the follow-redirects library when fetching remote URLs with cookies (NVD, CVE).

Technical details

The vulnerability exists in the follow-redirects package's handling of cookies during URL redirections. When fetching a remote URL with a cookie and encountering a Location response header for redirection, the package would inappropriately forward cookie information across domains (GitHub Commit).

Impact

The vulnerability could lead to the exposure of sensitive cookie information to unauthorized domains during URL redirections, potentially compromising user privacy and security. This could allow malicious actors to capture authentication tokens or other sensitive information stored in cookies (Broadcom).

Mitigation and workarounds

The issue was fixed in follow-redirects by dropping cookie headers when redirecting to different domains. The fix was implemented by modifying the header removal logic to include cookie headers alongside authorization headers when redirecting across domains. Users should upgrade to patched versions of the package (GitHub Commit).

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-55182CRITICAL10
  • JavaScriptJavaScript
  • react-server-dom-turbopack
NoYesDec 03, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 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