Intel

AIKIDO-2026-10059

supertokens-auth-react is vulnerable to Open Redirect

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

61

CVE Score

Medium

Open Redirect

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to an Open Redirect via the redirectToPath query parameter, where setting a schemaless URL, such as //evil.com, would cause a redirection to an external malicious domain due to improper validation. An attacker could exploit this by crafting a phishing link that appears to originate from the trusted site to steal user credentials or deliver malware, which the patched code now mitigates by detecting and blocking schemaless URLs that begin with //.

How do I fix this?

Upgrade the supertokens-auth-react library to a patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.38.0 - 0.51.0

Fixed in 0.51.1

Background info

supertokens-auth-react is vulnerable to Open Redirect in versions 0.38.0 - 0.51.0.

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