Skip to content
Heist/ feed
Back to feed
High

Sylius affected by IDOR in Cart and Checkout LiveComponents

Type: advisorySources: OSV

Sylius is an Open Source eCommerce Framework on Symfony. An authenticated Insecure Direct Object Reference (IDOR) vulnerability exists in multiple shop LiveComponents due to unvalidated resource IDs accepted via #[LiveArg] parameters. Unlike props, which are protected by LiveComponent's @checksum, args are fully user-controlled - any action that accepts a resource ID via #[LiveArg] and loads it with ->find() without ownership validation is vulnerable. Checkout address FormComponent (addressFieldUpdated action): Accepts an addressId via #[LiveArg] and loads it without verifying ownership, exposing another user's first name, last name, company, phone number, street, city, postcode, and country. Cart WidgetComponent (refreshCart action): Accepts a cartId via #[LiveArg] and loads any order directly from the repository, exposing order total and item count. Cart SummaryComponent (refreshCart action): Accepts a cartId via #[LiveArg] and loads any order directly from the repository, exposing subtotal, discount, shipping cost, taxes (excluded and included), and order total. Since sylius_order contains both active carts (state=cart) and completed orders (state=new/fulfilled) in the same ID space, the cart IDOR exposes data from all orders, not just active carts. The issue is fixed in versions: 2.0.16, 2.1.12, 2.2.3 and above.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-31820
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 04:41 UTC · Revision 1

Source evidence

Sylius affected by IDOR in Cart and Checkout LiveComponents

core-osv · Original source

Published 10 Mar 2026, 21:22 UTC

Sylius is an Open Source eCommerce Framework on Symfony. An authenticated Insecure Direct Object Reference (IDOR) vulnerability exists in multiple shop LiveComponents due to unvalidated resource IDs accepted via #[LiveArg] parameters. Unlike props, which are protected by LiveComponent's @checksum, args are fully user-controlled - any action that accepts a resource ID via #[LiveArg] and loads it with ->find() without ownership validation is vulnerable. Checkout address FormComponent (addressFieldUpdated action): Accepts an addressId via #[LiveArg] and loads it without verifying ownership, exposing another user's first name, last name, company, phone number, street, city, postcode, and country. Cart WidgetComponent (refreshCart action): Accepts a cartId via #[LiveArg] and loads any order directly from the repository, exposing order total and item count. Cart SummaryComponent (refreshCart action): Accepts a cartId via #[LiveArg] and loads any order directly from the repository, exposing subtotal, discount, shipping cost, taxes (excluded and included), and order total. Since sylius_order contains both active carts (state=cart) and completed orders (state=new/fulfilled) in the same ID space, the cart IDOR exposes data from all orders, not just active carts. The issue is fixed in versions: 2.0.16, 2.1.12, 2.2.3 and above.

osv:CVE-2026-31820
Complete source record
{
  "id": "5f67f59400dd14fb2273c872e5aa7160afd1ca124c10725795d421c6ae3a51e3",
  "url": "https://osv.dev/vulnerability/CVE-2026-31820",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Sylius affected by IDOR in Cart and Checkout LiveComponents",
    "summary": "Sylius is an Open Source eCommerce Framework on Symfony. An authenticated Insecure Direct Object Reference (IDOR) vulnerability exists in multiple shop LiveComponents due to unvalidated resource IDs accepted via #[LiveArg] parameters. Unlike props, which are protected by LiveComponent's @checksum, args are fully user-controlled - any action that accepts a resource ID via #[LiveArg] and loads it with ->find() without ownership validation is vulnerable. Checkout address FormComponent (addressFieldUpdated action): Accepts an addressId via #[LiveArg] and loads it without verifying ownership, exposing another user's first name, last name, company, phone number, street, city, postcode, and country. Cart WidgetComponent (refreshCart action): Accepts a cartId via #[LiveArg] and loads any order directly from the repository, exposing order total and item count. Cart SummaryComponent (refreshCart action): Accepts a cartId via #[LiveArg] and loads any order directly from the repository, exposing subtotal, discount, shipping cost, taxes (excluded and included), and order total. Since sylius_order contains both active carts (state=cart) and completed orders (state=new/fulfilled) in the same ID space, the cart IDOR exposes data from all orders, not just active carts. The issue is fixed in versions: 2.0.16, 2.1.12, 2.2.3 and above.",
    "evidence": "osv:CVE-2026-31820",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-31820",
      "aliases": [
        "CVE-2026-31820",
        "GHSA-2xc6-348p-c2x6"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sylius/sylius",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6dd3ca9895be7ab7e6cb71f37af2ef66af17cbe0"
                },
                {
                  "fixed": "af579b0b6eaa10ea0883fb458484718c80fc96c7"
                },
                {
                  "introduced": "a5a816f9f1fcb5abd2d42b27801656aa2ae9bf0d"
                },
                {
                  "fixed": "d8092f21ee9606b0155231fe892d9d54fc44986e"
                },
                {
                  "introduced": "7aa47be3a617f75337d73d245352ea700bc8a1ef"
                },
                {
                  "fixed": "111d96b1bea7cb59bc2f7b4c6d35d5cd05872195"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.0.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0"
                      },
                      {
                        "fixed": "2.1.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "fixed": "2.2.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.2.2",
            "v2.1.11",
            "v2.2.1",
            "v2.1.10",
            "v2.0.15",
            "v2.2.0",
            "v2.1.9",
            "v2.0.14",
            "v2.1.8",
            "v2.1.7",
            "v2.1.6",
            "v2.1.5",
            "v2.0.13",
            "v2.1.4",
            "v2.0.12",
            "v2.1.3",
            "v2.0.11",
            "v2.1.2",
            "v2.0.10",
            "v2.1.1",
            "v2.0.9",
            "v2.1.0",
            "v2.0.8",
            "v2.0.7",
            "v2.0.6",
            "v2.0.5",
            "v2.0.4",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31820.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.494591120Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31820.json",
        "https://github.com/Sylius/Sylius/security/advisories/GHSA-2xc6-348p-c2x6",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-31820"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-639"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31820.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-31820",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500351,
  "published_at": "2026-03-10T21:22:37.052+00:00"
}