# CVE-2020-5218: Ability in Sylius to switch channels via GET parameter enabled in production environments

- Severity: Medium 4.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Published: 2020-01-27T20:25:13.000Z
- Modified: 2026-07-08T06:49:46.850Z
- Also known as: GHSA-8vp7-j5cj-vvm2, GHSA-prg5-hg25-8grq
- Related: CVE-2020-5220
- Weaknesses: CWE-200, CWE-444
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Sylius Sylius: < 1.3.13; >= 1.4.0, < 1.4.6; >= 1.5.0, < 1.5.1; >= 1.6.0, < 1.6.3; from 1.3.0 before 1.3.13; from 1.4.0 before 1.4.6; from 1.6.0 before 1.6.3; 1.5.0
- sylius/resource-bundle (Packagist): from 1.4.0 before 1.4.6; from 1.5.0 before 1.5.1; from 1.6.0 before 1.6.3; from 1.0.0 before 1.3.13
- sylius/sylius (Packagist): before 1.3.12; from 1.4.0 before 1.4.4; before 1.3.16; from 1.4.0 before 1.4.12; from 1.5 before 1.5.9; from 1.6.0 before 1.6.5

## Every score

- GitHub_M: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://github.com/Sylius/SyliusResourceBundle/security/advisories/GHSA-8vp7-j5cj-vvm2> (patch, third-party-advisory, web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/resource-bundle/CVE-2020-5220.yaml> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5220> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/sylius/CVE-2020-5220.yaml> (web)
- <https://github.com/Sylius/Sylius/security/advisories/GHSA-prg5-hg25-8grq> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5218> (advisory)

## Sources

- CVE List: [CVE-2020-5218](https://www.cve.org/CVERecord?id=CVE-2020-5218), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-8vp7-j5cj-vvm2](https://github.com/advisories/GHSA-8vp7-j5cj-vvm2), CC-BY-4.0, modified 2026-07-08
- GitHub Advisory Database: [GHSA-prg5-hg25-8grq](https://github.com/advisories/GHSA-prg5-hg25-8grq), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-5218](https://nvd.nist.gov/vuln/detail/CVE-2020-5218), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5218 · Whole record: https://cve.day/CVE-2020-5218.json · Rebuilt by cve.day 2026-11-25T22:57:50.686Z
