CVE-2024-30260
JavaScript vulnerability analysis and mitigation

Overview

Undici, an HTTP/1.1 client written for Node.js, contains a security vulnerability identified as CVE-2024-30260. The vulnerability exists because while Undici cleared Authorization and Proxy-Authorization headers for fetch(), it did not clear them for undici.request(). This vulnerability affects versions prior to 5.28.4 and versions 6.0.0 through 6.11.0 (GitHub Advisory).

Technical details

The vulnerability is related to improper authorization handling during cross-origin redirects. The CVSS v3.1 base score is 3.9 (LOW) with the vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L. The issue specifically involves the failure to clear sensitive authorization headers when performing cross-origin redirects using the undici.request() method, while the same headers were properly cleared for the fetch() method (NVD).

Impact

The vulnerability could potentially lead to unauthorized information disclosure as sensitive authorization headers might be exposed during cross-origin redirects when using undici.request(). This could result in the leakage of authentication credentials to unintended destinations (GitHub Advisory).

Exploitability

The vulnerability requires high attack complexity and high privileges, along with user interaction to be exploited. The attack vector is network-based, but the overall exploitability is considered low due to these requirements (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions 5.28.4 and 6.11.1. Users are recommended to upgrade to these versions or later. As a workaround, users can either use the fetch() method instead of undici.request() or disable maxRedirections (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-55157HIGH8.4
  • JavaScript logoJavaScript
  • @ooples/token-optimizer-mcp
NoYesAug 14, 2026
CVE-2026-35219HIGH7.1
  • JavaScript logoJavaScript
  • @budibase/server
NoYesAug 14, 2026
CVE-2026-55156MEDIUM5.3
  • JavaScript logoJavaScript
  • @ooples/token-optimizer-mcp
NoYesAug 14, 2026
CVE-2026-50029MEDIUM5.3
  • JavaScript logoJavaScript
  • js-toml
NoYesAug 14, 2026
CVE-2026-73428MEDIUM4.6
  • JavaScript logoJavaScript
  • trix
NoYesAug 13, 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