Symfony Routing
Monthly
Open redirect and host-injection in Symfony's UrlGenerator (Routing component) lets an attacker-controlled value placed into a host placeholder change which host a generated absolute URL points to, so a crafted link such as 'evil%2Ecom#' against a '{tenant}.example.com' route is emitted as 'https://evil%2Ecom#.example.com/dashboard' and resolved by browsers to evil.com. Affected are symfony/routing and symfony/symfony releases before 5.4.57, 6.4.51, 7.4.24 and 8.1.12; exposure requires an application that actually feeds untrusted data (for example the request query string passed to url(), or RedirectController::redirectAction() with keepQueryParams:true onto a route whose host placeholder the redirecting route does not define) into a host placeholder, and successful abuse needs the victim to follow the link. Exploitation is unauthenticated but requires passive user interaction, so this is a phishing/redirect vector rather than server compromise; no public exploit code and no CISA KEV entry were identified at time of analysis, and a vendor patch plus upstream commit are available.
Open redirect in Symfony's Routing component: UrlGenerator can emit protocol-relative URLs such as //evil.com/blog/rss.xml that browsers follow to an attacker-controlled host, an incomplete fix for CVE-2026-45065 (GHSA-72xp-p242-47p9) tracked as GHSA-cpx6-mpfq-c6cr. The anchored-requirements check added by the earlier fix does not run when framework.router.strict_requirements is null - the value set by the Symfony routing recipe in the prod environment - so a first placeholder whose value begins with '/' still produces a protocol-relative URL, and requirements that accept '/' (such as '.+') allow it in every environment. Exposure is limited to applications that pass untrusted data (for example the request query string) into path()/url() or that use RedirectController::redirectAction() with keepQueryParams: true where the target route has a placeholder the redirecting route does not define; exploitation is unauthenticated but requires the victim to follow the generated link, and impact is confined to phishing-style redirection with no effect on the application's own confidentiality, integrity or availability. No public exploit identified at time of analysis.
Open redirect and host-injection in Symfony's UrlGenerator (Routing component) lets an attacker-controlled value placed into a host placeholder change which host a generated absolute URL points to, so a crafted link such as 'evil%2Ecom#' against a '{tenant}.example.com' route is emitted as 'https://evil%2Ecom#.example.com/dashboard' and resolved by browsers to evil.com. Affected are symfony/routing and symfony/symfony releases before 5.4.57, 6.4.51, 7.4.24 and 8.1.12; exposure requires an application that actually feeds untrusted data (for example the request query string passed to url(), or RedirectController::redirectAction() with keepQueryParams:true onto a route whose host placeholder the redirecting route does not define) into a host placeholder, and successful abuse needs the victim to follow the link. Exploitation is unauthenticated but requires passive user interaction, so this is a phishing/redirect vector rather than server compromise; no public exploit code and no CISA KEV entry were identified at time of analysis, and a vendor patch plus upstream commit are available.
Open redirect in Symfony's Routing component: UrlGenerator can emit protocol-relative URLs such as //evil.com/blog/rss.xml that browsers follow to an attacker-controlled host, an incomplete fix for CVE-2026-45065 (GHSA-72xp-p242-47p9) tracked as GHSA-cpx6-mpfq-c6cr. The anchored-requirements check added by the earlier fix does not run when framework.router.strict_requirements is null - the value set by the Symfony routing recipe in the prod environment - so a first placeholder whose value begins with '/' still produces a protocol-relative URL, and requirements that accept '/' (such as '.+') allow it in every environment. Exposure is limited to applications that pass untrusted data (for example the request query string) into path()/url() or that use RedirectController::redirectAction() with keepQueryParams: true where the target route has a placeholder the redirecting route does not define; exploitation is unauthenticated but requires the victim to follow the generated link, and impact is confined to phishing-style redirection with no effect on the application's own confidentiality, integrity or availability. No public exploit identified at time of analysis.