Missing Authorization Affecting sylius/sylius package, versions >=2.0.0-alpha.1, <2.0.16>=2.1.0, <2.1.12>=2.2.0, <2.2.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SYLIUSSYLIUS-15460796
  • published11 Mar 2026
  • disclosed11 Mar 2026
  • creditUnknown

Introduced: 11 Mar 2026

CVE-2026-31821  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade sylius/sylius to version 2.0.16, 2.1.12, 2.2.3 or higher.

Overview

sylius/sylius is a platform for PHP, based on Symfony framework.

Affected versions of this package are vulnerable to Missing Authorization via the POST /api/v2/shop/orders/{tokenValue}/items endpoint. An attacker can gain unauthorized access to and manipulate another user's shopping cart by submitting requests with a known cart tokenValue, potentially exposing sensitive information such as customer email addresses, cart contents, address data, payment and shipment IDs, and order totals.

Workaround

This vulnerability can be mitigated by adding an ownership check in the handler responsible for adding items to the cart, ensuring the current user matches the cart owner before processing the request.

CVSS Base Scores

version 4.0
version 3.1