Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-5218

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-5218, CVE-2020-5220
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:43 UTC · Revision 1

Source evidence

CVE-2020-5218

core-osv · Original source

Published 27 Jan 2020, 21:15 UTC

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.

osv:CVE-2020-5218
Complete source record
{
  "id": "085e5969d2d111e82f323035d9af729af35445197803e1388aa794b0afe5e0a1",
  "url": "https://osv.dev/vulnerability/CVE-2020-5218",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-5218",
    "summary": "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.",
    "evidence": "osv:CVE-2020-5218",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-5218",
      "aliases": [
        "CVE-2020-5218",
        "CVE-2020-5220",
        "GHSA-8vp7-j5cj-vvm2",
        "GHSA-prg5-hg25-8grq"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sylius/sylius",
              "type": "GIT",
              "events": [
                {
                  "introduced": "18cf8dce6e77e1469999d4959b31df65325d4e1c"
                },
                {
                  "fixed": "b9dfee1d562f7506332c01a3df4ab17d8550de4f"
                },
                {
                  "introduced": "c4bb5174a64c52d3477b97ab6e33078810c005d0"
                },
                {
                  "fixed": "d2351d5123486923f8d3501c2123a047289c5aa5"
                },
                {
                  "introduced": "7c9e3f628da64a127389ac45522bbcce695e1fb6"
                },
                {
                  "fixed": "899c8e91ac39b98001839d7e998b73389a02fe8c"
                },
                {
                  "introduced": "006ba9c39ccf9b250d6951e7459a2e1c3159d4fd"
                },
                {
                  "last_affected": "006ba9c39ccf9b250d6951e7459a2e1c3159d4fd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.3.0"
                      },
                      {
                        "fixed": "1.3.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.0"
                      },
                      {
                        "fixed": "1.4.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.6.0"
                      },
                      {
                        "fixed": "1.6.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sylius:sylius:1.5.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.5.0-NA"
                      },
                      {
                        "last_affected": "1.5.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.5.0-NA",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.4.5",
            "v1.5.0",
            "v1.4.4",
            "v1.3.12",
            "v1.4.3",
            "v1.3.11",
            "v1.4.2",
            "v1.3.10",
            "v1.4.1",
            "v1.3.9",
            "v1.4.0",
            "v1.3.8",
            "v1.3.7",
            "v1.3.6",
            "v1.3.5",
            "v1.3.4",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5218.json"
          }
        }
      ],
      "modified": "2026-10-24T10:49:47.463632148Z",
      "provider": "osv",
      "references": [
        "https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/resource-bundle/CVE-2020-5220.yaml",
        "https://github.com/Sylius/SyliusResourceBundle/security/advisories/GHSA-8vp7-j5cj-vvm2"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-5218",
        "evidence": "/id"
      },
      {
        "value": "CVE-2020-5220",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441829,
  "published_at": "2020-01-27T21:15:11.307+00:00"
}