Servers and applications
CVE-2026-31819
Open Redirect via Referer Header
- Severity
- Medium 6.9
- Published
- 9 Mar 2026
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 1.12.23, 1.13.15, 1.14.18, 2.0.16, 2.1.12, 2.2.3
- Exploit chance
- 0.2% in the next 30 daysHigher than 10% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Open redirect (CWE-601)
- Attack
- Over the network · No login needed · No user action needed
- CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X- Also known as
- GHSA-9ffx-f77r-756w
- Sources
- NVD, Project advisories (GitHub)
Description
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.
Affected classes:
- CurrencySwitchController::switchAction() - public
- StorageBasedLocaleSwitcher::handle() - public, used in locale switching without having locale in the url
- ImpersonateUserController::impersonateAction()…
Workarounds
If you cannot update Sylius immediately, copy the affected classes from vendor to your project's src/ directory, apply the fix, and override the service definitions.
Affected software
| Software | Affected versions |
|---|---|
SyliusServers and applications · cpe:a:sylius:sylius |
All 9 release lines
|
SyliusServers and applications · github:sylius/sylius |
|
About Sylius
Headless open-source eCommerce platform on top of PHP/Symfony/API Platform
- Online stores using it
- 10 000+Sylius
- Monthly downloads (Packagist)
- 173,262Packagist, 15 Nov 2026
- Total downloads (Packagist)
- 6,561,739Packagist, 15 Nov 2026
- GitHub stars
- 8,571GitHub, 15 Nov 2026
- Forks
- 2,167GitHub, 15 Nov 2026
- Latest release
- v2.3.2GitHub, 15 Nov 2026
- Released
- 22 Oct 2026GitHub
- License
- MITGitHub
- First published on GitHub
- 5 Nov 2011GitHub
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 2.3 | 2.3.2 | Until 31 Dec 2027 |
| 2.2 | 2.2.12 | Until 31 Mar 2027 |
| 2.1 | 2.1.17 | Ended 30 Sept 2026 |
| 2.0 | 2.0.18 | Ended 28 Feb 2026 |
| 1.14 (LTS)LTS | 1.14.21 | Until 31 Dec 2026 |
| 1.13 | 1.13.17 | Ended 30 Apr 2025 |
From endoflife.date.
Vulnerabilities in Sylius
- In our list
- 35
- Published in the last 12 months
- 21
- Critical, last 12 months
- 0
- High, last 12 months
- 7
- Known exploited
- 0
- GHSA-ccgh-6w73-crf8Channel-based payment method restriction bypass on shop payment request API endpointMedium 4.3 22 Oct 2026
- GHSA-h76r-rr27-3gm4Promotion and coupon Usage Limit Bypass via Race ConditionHigh 8.2 22 Oct 2026
- GHSA-5mpg-w6q2-2vrwUnpublished product reviews disclosed through the Shop API item endpointMedium 5.3 22 Oct 2026
- GHSA-v78h-66q4-h9pxHost header injection in the shop password reset e-mail link when the channel has no hostnameHigh 8.1 22 Oct 2026
- GHSA-cqw6-3fwg-cfv4Percent-encoded API path bypasses shop API ownership filters, exposing and modifying other customers' dataHigh 8.1 22 Oct 2026
- GHSA-mw28-p745-4jrvA disabled API stays reachable through a percent-encoded pathMedium 6.5 22 Oct 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-31819
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-31819
- GitHub Advisory Database https://github.com/advisories/GHSA-9ffx-f77r-756w
- github.com https://github.com/Sylius/Sylius/security/advisories/GHSA-9ffx-f77r-756w