CVE-2020-5218 Ability in Sylius to switch channels via GET parameter enabled in production environments
Attackers can bypass production security restrictions to switch channels via GET parameters due to a configuration resolution bug in Sylius.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-5218?
CVE-2020-5218 is a medium-severity vulnerability in Sylius, published on 27 Jan 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Affected versions of Sylius give attackers the ability to switch channels via the _channel_code GET parameter in production environments. This was meant to be enabled only when kernel.debug is set to true. However, if no sylius_channel.debug is set explicitly in the configuration, the default value which is kernel.debug will be not resolved and cast to boolean, enabling this debug feature even if that parameter is set to false. Patch has been provided for Sylius 1.3.x and newer - 1.3.16, 1.4.12, 1.5.9, 1.6.5. Versions older than 1.3 are not covered by our security support anymore.
Weakness: CWE-444
Which versions are affected by CVE-2020-5218?
It affects 1 product.
Products include Sylius Sylius.
How do I fix CVE-2020-5218?
Apply the vendor's patch.
Is CVE-2020-5218 being exploited?
There is no known exploitation of CVE-2020-5218 in the wild and no public exploit code.
Other vulnerabilities in Sylius
- CVE-2026-31824 Sylius has a Promotion Usage Limit Bypass via Race Condition
- CVE-2024-57610 Denial of service in n/a
- CVE-2026-31820 Sylius affected by IDOR in Cart and Checkout LiveComponents
- CVE-2022-24743 Insufficient Session Expiration in Sylius
- CVE-2026-31819 Sylius has an Open Redirect via Referer Header