Open Redirect Affecting @cloudflare/workers-oauth-provider package, versions <0.0.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-CLOUDFLAREWORKERSOAUTHPROVIDER-10118138
  • published14 May 2025
  • disclosed1 May 2025
  • creditUnknown

Introduced: 1 May 2025

NewCVE-2025-4143  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade @cloudflare/workers-oauth-provider to version 0.0.5 or higher.

Overview

@cloudflare/workers-oauth-provider is an OAuth provider for Cloudflare Workers

Affected versions of this package are vulnerable to Open Redirect due to the missing validation of the redirect URI on the authorize endpoint. An attacker can impersonate a user and potentially steal credentials by tricking a victim into visiting a malicious website. This is only exploitable if the OAuth server's authorized callback is designed to auto-approve authorizations that appear to come from an OAuth client that the victim has previously authorized.

CVSS Base Scores

version 4.0
version 3.1