Vulnerability · Published Mar 10, 2026 · Assigned by GitHub_M
CVE-2026-31819Sylius has an Open Redirect via Referer Header
Medium 6.9
In plain English
A medium-severity open redirect in Sylius from Sylius. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Sylius is an Open Source eCommerce Framework on Symfony. CurrencySwitchController::switchAction(), ImpersonateUserController::impersonateAction() and StorageBasedLocaleSwitcher::handle() use the HTTP Referer header directly when redirecting. The attack requires the victim to click a legitimate application link placed on an attacker-controlled page. The browser automatically sends the attacker's site as the Referer, and the application redirects back to it. This can be used for phishing or credential theft, as the redirect originates from a trusted domain. The severity varies by endpoint; public endpoints require no authentication and are trivially exploitable, while admin-only endpoints require an authenticated session but remain vulnerable if an admin follows a link from an external source such as email or chat. The issue is fixed in versions: 1.9.12, 1.10.16, 1.11.17, 1.12.23, 1.13.15, 1.14.18, 2.0.16, 2.1.12, 2.2.3 and above.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | sylius/sylius | 1.9.12 | GHSA-9ffx-f77r-756w |
| Packagist | sylius/sylius | 1.10.16 | GHSA-9ffx-f77r-756w |
| Packagist | sylius/sylius | 1.11.17 | GHSA-9ffx-f77r-756w |
| Packagist | sylius/sylius | 1.12.23 | GHSA-9ffx-f77r-756w |
| Packagist | sylius/sylius | 1.13.15 | GHSA-9ffx-f77r-756w |
| Packagist | sylius/sylius | 1.14.18 | GHSA-9ffx-f77r-756w |
| Packagist | sylius/sylius | 2.0.16 | GHSA-9ffx-f77r-756w |
| Packagist | sylius/sylius | 2.1.12 | GHSA-9ffx-f77r-756w |
| Packagist | sylius/sylius | 2.2.3 | GHSA-9ffx-f77r-756w |
Affected products (as reported)
Weakness: CWE-601 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L
References
- https://github.com/Sylius/Sylius/security/advisories/GHSA-9ffx-f77r-756w x_refsource_CONFIRM