Intel

AIKIDO-2026-93645

url-metadata is vulnerable to Sensitive Information Disclosure

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

59

Medium Risk

This Affects:

JSurl-metadata
5.0.0 - 5.7.2
Fixed in 5.7.3
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.

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.

Background info

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

How to fix this

Upgrade the url-metadata library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform