Improper access control in Sylius - CVE-2020-5218
Published: January 27, 2020 / Updated: April 27, 2026
Sylius
Detailed vulnerability description
The vulnerability allows a remote attacker to switch channels in production environments.
The vulnerability exists due to improper access control in the channel switching feature when processing the _channel_code GET parameter. A remote attacker can supply a crafted _channel_code parameter to switch channels in production environments.
The issue occurs when sylius_channel.debug is not explicitly set, causing the debug feature to remain enabled because the default %kernel.debug% value is not resolved and is cast to boolean.