CVE-2020-11021
JavaScript vulnerability analysis and mitigation

Overview

The CVE-2020-11021 vulnerability affects Http-Client (NPM @actions/http-client) versions before 1.0.8. The vulnerability allows the disclosure of Authorization headers to incorrect domains in specific redirect scenarios. This security issue was discovered and disclosed in April 2020 (GitHub Advisory).

Technical details

The vulnerability occurs under specific conditions when users of the http-client make an HTTP request with an authorization header that leads to a redirect (302) to another domain or hostname. In such cases, the authorization header is incorrectly passed to the other domain, potentially exposing sensitive authentication information. The issue was addressed in version 1.0.8 by implementing header stripping functionality when redirects occur to different hostnames (GitHub Advisory).

Impact

The primary impact of this vulnerability is the potential exposure of authorization headers to unauthorized domains during redirect scenarios. This could lead to the disclosure of sensitive authentication tokens, including GITHUB_TOKEN in GitHub Actions environments. While the GITHUB_TOKEN is scoped per job with specific permissions, the exposure of such credentials could still pose security risks (GitHub Advisory).

Exploitability

The vulnerability can be exploited when three specific conditions are met: the HTTP request contains an authorization header, the request results in a 302 redirect, and the redirect points to a different domain or hostname. No active exploits in the wild have been publicly reported (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version 1.0.8 of the Http-Client package. The fix involves stripping the authorization header before making redirected requests when the hostname differs from the original request. Users are strongly advised to upgrade to version 1.0.8 or later, as no alternative workarounds are available (GitHub 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-2026-77415CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77414CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-77413CRITICAL9.3
  • JavaScript logoJavaScript
  • jsonata
NoYesAug 21, 2026
CVE-2026-63421HIGH7.5
  • JavaScript logoJavaScript
  • @keystone-6/core
NoYesAug 21, 2026
CVE-2026-53509MEDIUM5.7
  • JavaScript logoJavaScript
  • @aborruso/ckan-mcp-server
NoYesAug 21, 2026

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