Sylius Open Redirect Vulnerability via HTTP Referer Header

Vulnerability

A moderate open redirect vulnerability has been identified in Sylius, an open-source eCommerce framework built on Symfony. The issue arises in the CurrencySwitchController, ImpersonateUserController, and StorageBasedLocaleSwitcher, all of which use the HTTP Referer header for redirection. This vulnerability can be exploited by tricking a user into clicking a link on an attacker-controlled page, which then redirects back to the attacker's site, potentially leading to phishing or credential theft. Public endpoints are easily exploitable, while admin-only endpoints require an authenticated session.

Impact

Exploitation of this vulnerability allows for open redirection, where users are redirected to an attacker-controlled site, potentially leading to phishing or credential theft.

Remediation

To address this vulnerability, users can update Sylius to version 1.9.12, 1.10.16, 1.11.17, 1.12.23, 1.13.15, 1.14.18, 2.0.16, 2.1.12, or 2.2.3 and above. If an immediate update is not possible, the affected controllers can be copied to the project's source directory, modified to remove the referer-based redirection, and the service definitions overridden.

Added: Mar 10, 2026, 10:58 PM
Updated: Mar 10, 2026, 10:58 PM

Vulnerability Rating

Custom Algorithm
spread
3.4
impact
0.2
exploitability
6.4
remediation
7.7
relevance
3.7
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.