@tanstack/router-core is vulnerable to Open Redirect
66
Medium Risk
Affected versions of this package are vulnerable to Open Redirection, where the router does not properly validate or sanitize URL path segments before processing redirects. An attacker can exploit this by crafting a malformed URL containing injected carriage returns and external domains, such as http://localhost:3000/%0d/evil.com/, which causes the application to redirect users to an arbitrary, attacker-controlled site. This rogue redirect can be used for phishing attacks, malware distribution, or to leverage trust in the application's domain.
You are affected if you are using a version that falls within the vulnerable range.
@tanstack/router-core is vulnerable to Open Redirect in versions 1.136.3 - 1.145.6.
Upgrade the @tanstack/router-core library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant