Open redirect in Spring Framework - CVE-2026-59394
Published: November 20, 2026
Vulnerability details
The vulnerability allows a remote attacker to redirect users to an attacker-chosen location on a different origin.
The vulnerability exists due to insufficient validation of the redirect destination in UrlHandlerFilter when it is configured to remove trailing slashes by redirecting requests. A remote attacker can induce a user to follow a crafted request URL to redirect the user's browser to a different origin.