Live threats

All CVEs / Sylius

CVE-2020-5218Sylius

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
0.6%
probability of exploitation in 30 days · percentile 50
Auth required
Yes
Published
Jan 27, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-444
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sylius.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist sylius/resource-bundle ≥ 1.4.0 < 1.4.6 1.4.6 composer require "sylius/resource-bundle:^1.4.6"
Packagist sylius/resource-bundle ≥ 1.5.0 < 1.5.1 1.5.1 composer require "sylius/resource-bundle:^1.5.1"
Packagist sylius/resource-bundle ≥ 1.6.0 < 1.6.3 1.6.3 composer require "sylius/resource-bundle:^1.6.3"
Packagist sylius/resource-bundle ≥ 1.0.0 < 1.3.13 1.3.13 composer require "sylius/resource-bundle:^1.3.13"
Packagist sylius/sylius < 1.3.12 1.3.12 composer require "sylius/sylius:^1.3.12"
Packagist sylius/sylius ≥ 1.4.0 < 1.4.4 1.4.4 composer require "sylius/sylius:^1.4.4"
Packagist sylius/sylius < 1.3.16 1.3.16 composer require "sylius/sylius:^1.3.16"
Packagist sylius/sylius ≥ 1.4.0 < 1.4.12 1.4.12 composer require "sylius/sylius:^1.4.12"
Packagist sylius/sylius ≥ 1.5 < 1.5.9 1.5.9 composer require "sylius/sylius:^1.5.9"
Packagist sylius/sylius ≥ 1.6.0 < 1.6.5 1.6.5 composer require "sylius/sylius:^1.6.5"

Per OSV / GitHub Advisories (GHSA-8vp7-j5cj-vvm2, GHSA-prg5-hg25-8grq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
syliussylius≥ 1.3.0 < 1.3.13
syliussylius≥ 1.4.0 < 1.4.6
syliussylius≥ 1.6.0 < 1.6.3
syliussylius1.5.0

Official sources

References

Links published by the sources. Open them with care.