Intel

AIKIDO-2024-10478

@cloudflare/workers-shared is vulnerable to URL Redirection to Untrusted Site ('Open Redirect')

URL Redirection to Untrusted Site ('Open Redirect') Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 25, 2024

48

Medium Risk

This Affects:

js@cloudflare/workers-shared
0.1.0 - 0.7.1
Fixed in 0.8.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to an open redirect by using trailing double slashes in the URL (such as https://example.com//attacker.example/) when accessing the worker asset path. This can allow attackers to redirect users to malicious websites.

Who does this affect?

You are affected if you are using a version which is within vulnerability ranges

Background info

@cloudflare/workers-shared is vulnerable to URL Redirection to Untrusted Site ('Open Redirect') in versions 0.1.0 - 0.7.1.

How to fix this

Upgrade the @cloudflare/workers-shared 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