Intel

AIKIDO-2026-93645

url-metadata is vulnerable to Sensitive Information Disclosure

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 20, 2026
July 20, 2026

59

CVSS Score

Medium

Sensitive Information Disclosure

Are you affected? Scan for Free

TL;DR

The package follows HTTP redirects manually in main.js and re-sends the caller-configured requestHeaders on every hop. When a redirect points to a different host, credential-bearing headers such as Authorization, Cookie, Cookie2, and WWW-Authenticate are forwarded verbatim to that new host. An attacker who controls or observes a redirect target can capture credentials that were intended only for the original host. The fix adds a sensitive-header list and strips those headers when a redirect changes host, keeping them only for same-host hops.

How do I fix this?

Upgrade the url-metadata library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you configure requestHeaders with credential-bearing headers when fetching URLs that can redirect to a different host.

Versions

5.0.0 - 5.7.2

Fixed in 5.7.3

Background info

url-metadata is vulnerable to Sensitive Information Disclosure in versions 5.0.0 - 5.7.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea